1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

vcs.rb: Allow to empty a part in commit log

This commit is contained in:
Nobuyoshi Nakada 2020-01-12 19:43:59 +09:00
parent cccfc66760
commit b34f39e860
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -643,7 +643,7 @@ class VCS
h, s = s.split(/^$/, 2)
s = s.lines
fix.each_line do |x|
if %r[^ +(\d+)s/(.+)/(.+)/] =~ x
if %r[^ +(\d+)s/(.+)/(.*)/] =~ x
s[$1.to_i][$2] = $3
end
end