aboutsummaryrefslogtreecommitdiffstats
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/sync_default_gems.rb')
-rwxr-xr-xtool/sync_default_gems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 5f8a73448e..d14adf0a91 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -596,7 +596,7 @@ module SyncDefaultGems
unless ignore.empty?
puts "Reset ignored files: #{ignore.join(', ')}"
system(*%W"git rm -r --", *ignore)
- system(*%W"git checkout -f", base, "--", *ignore)
+ ignore.each {|f| system(*%W"git checkout -f", base, "--", f)}
end
if changed.empty?