mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
sync_default_gems.rb: Ignore unmergeable files [ci skip]
This commit is contained in:
parent
902e459b73
commit
d76284dfb7
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ def sync_default_gems_with_commits(gem, ranges, edit: nil)
|
|||
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?
|
||||
|
|
Loading…
Reference in a new issue