From a56760b908fb89dbcf4bea5f6d8f6576bc88e1d2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 26 Jan 2021 09:58:11 +0900 Subject: [PATCH] vcs.rb: allow log-fix to insert an empty line --- tool/lib/vcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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