aboutsummaryrefslogtreecommitdiffstats
path: root/tool/lib/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-26 09:58:11 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-26 09:58:11 +0900
commita56760b908fb89dbcf4bea5f6d8f6576bc88e1d2 (patch)
treef15b8e4247876dcd31a6a167bf9df30430e7ce27 /tool/lib/vcs.rb
parent19e6d271266eca5925e66fc8ec39b251a2fa6bcd (diff)
downloadruby-a56760b908fb89dbcf4bea5f6d8f6576bc88e1d2.tar.gz
vcs.rb: allow log-fix to insert an empty line
Diffstat (limited to 'tool/lib/vcs.rb')
-rw-r--r--tool/lib/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index 625900797e..282ce91dd3 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -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