ruby-changes:65042
From: Nobuyoshi <ko1@a...>
Date: Tue, 26 Jan 2021 10:07:45 +0900 (JST)
Subject: [ruby-changes:65042] a56760b908 (master): vcs.rb: allow log-fix to insert an empty line
https://git.ruby-lang.org/ruby.git/commit/?id=a56760b908 From a56760b908fb89dbcf4bea5f6d8f6576bc88e1d2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 26 Jan 2021 09:58:11 +0900 Subject: 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 6259007..282ce91 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -595,7 +595,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L595 end raise message.join('') end - when %r[^( +)(\d+)i/(.+)/] + when %r[^( +)(\d+)i/(.*)/] s[$2.to_i, 0] = "#{$1}#{$3}\n" end end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/