diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-01-12 19:43:59 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-01-12 19:43:59 +0900 |
commit | b34f39e86004e0155960dc15685b61a020de7c45 (patch) | |
tree | 7ed8ec3f4525183cc9d00315c6a4d28f83566d9e /tool | |
parent | cccfc66760fe479692852adf62167857243b4847 (diff) |
vcs.rb: Allow to empty a part in commit log
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/vcs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 85e119995a..c01c01da8e 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -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 |