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:
parent
cccfc66760
commit
b34f39e860
1 changed files with 1 additions and 1 deletions
|
@ -643,7 +643,7 @@ class VCS
|
||||||
h, s = s.split(/^$/, 2)
|
h, s = s.split(/^$/, 2)
|
||||||
s = s.lines
|
s = s.lines
|
||||||
fix.each_line do |x|
|
fix.each_line do |x|
|
||||||
if %r[^ +(\d+)s/(.+)/(.+)/] =~ x
|
if %r[^ +(\d+)s/(.+)/(.*)/] =~ x
|
||||||
s[$1.to_i][$2] = $3
|
s[$1.to_i][$2] = $3
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue