tool/merger.rb: Support commit URLs as revisions
This commit is contained in:
parent
dd04def10f
commit
4dccb145a8
Notes:
git
2023-07-23 13:47:28 +00:00
@ -295,7 +295,8 @@ else
|
|||||||
tickets = ''
|
tickets = ''
|
||||||
end
|
end
|
||||||
|
|
||||||
revstr = ARGV[0].delete('^, :\-0-9a-fA-F')
|
revstr = ARGV[0].gsub(%r!https://github\.com/ruby/ruby/commit/|https://bugs\.ruby-lang\.org/projects/ruby-master/repository/git/revisions/!, '')
|
||||||
|
revstr = revstr.delete('^, :\-0-9a-fA-F')
|
||||||
revs = revstr.split(/[,\s]+/)
|
revs = revstr.split(/[,\s]+/)
|
||||||
commit_message = ''
|
commit_message = ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user