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

vcs.rb: allow log-fix to insert an empty line

This commit is contained in:
Nobuyoshi Nakada 2021-01-26 09:58:11 +09:00
parent 19e6d27126
commit a56760b908
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -595,7 +595,7 @@ class VCS
end
raise message.join('')
end
when %r[^( +)(\d+)i/(.+)/]
when %r[^( +)(\d+)i/(.*)/]
s[$2.to_i, 0] = "#{$1}#{$3}\n"
end
end