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

ruby-changes:74242

From: Nobuyoshi <ko1@a...>
Date: Tue, 25 Oct 2022 13:59:11 +0900 (JST)
Subject: [ruby-changes:74242] d76284dfb7 (master): sync_default_gems.rb: Ignore unmergeable files [ci skip]

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

From d76284dfb764ac8259b823b5bfc3e886e41a100e Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 25 Oct 2022 13:50:31 +0900
Subject: sync_default_gems.rb: Ignore unmergeable files [ci skip]

---
 tool/sync_default_gems.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 5aa7eb06eb..8d33004ffb 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -520,7 +520,7 @@ def sync_default_gems_with_commits(gem, ranges, edit: nil) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L520
       skipped = true
     elsif /^CONFLICT/ =~ result
       result = pipe_readlines(%W"git status --porcelain -z")
-      result.map! {|line| line[/\A.U (.*)/, 1]}
+      result.map! {|line| line[/\A(?:.U|AA) (.*)/, 1]}
       result.compact!
       ignore, conflict = result.partition {|name| IGNORE_FILE_PATTERN =~ name}
       unless ignore.empty?
-- 
cgit v1.2.3


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

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