[前][次][番号順一覧][スレッド一覧]

ruby-changes:59684

From: Nobuyoshi <ko1@a...>
Date: Sun, 12 Jan 2020 19:46:00 +0900 (JST)
Subject: [ruby-changes:59684] b34f39e860 (master): vcs.rb: Allow to empty a part in commit log

https://git.ruby-lang.org/ruby.git/commit/?id=b34f39e860

From b34f39e86004e0155960dc15685b61a020de7c45 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 12 Jan 2020 19:43:59 +0900
Subject: vcs.rb: Allow to empty a part in commit log


diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index 85e1199..c01c01d 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -643,7 +643,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L643
               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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]