sync_default_gems.rb: Continue if files added to the toplevel removed
This commit is contained in:
parent
a6db6b150f
commit
c4fc9477aa
@ -628,7 +628,9 @@ module SyncDefaultGems
|
||||
`git reset HEAD~ --` && `git checkout .` && `git clean -fd`
|
||||
puts "Skip commit #{sha} only for tools or toplevel"
|
||||
return false
|
||||
elsif !system(*%W"git commit --amend --no-edit --", *toplevels, *tools)
|
||||
elsif system(*%W"git commit --amend --no-edit --", *toplevels, *tools)
|
||||
return true
|
||||
else
|
||||
`git reset HEAD~ --` && `git checkout .` && `git clean -fd`
|
||||
return nil
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user