Skip to content

Commit a7eb7e7

Browse files
committed
tool/merger.rb: Fetch diff from GitHub instead of cgit
Our cgit server has been shut down. tool/merger.rb: Fetch a diff in the patch format It expects "Subject:", so it needs to be a patch file.
1 parent d2cd7ea commit a7eb7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/merger.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def execute(*cmd, interactive: false)
260260
end
261261

262262
# Merge revision from Git patch
263-
git_uri = "https://git.ruby-lang.org/ruby.git/patch/?id=#{git_rev}"
263+
git_uri = "https://github.com/ruby/ruby/commit/#{git_rev}.patch"
264264
resp = Net::HTTP.get_response(URI(git_uri))
265265
if resp.code != '200'
266266
abort "'#{git_uri}' returned status '#{resp.code}':\n#{resp.body}"

0 commit comments

Comments
 (0)