ruby-changes:56488
From: Hiroshi <ko1@a...>
Date: Sun, 14 Jul 2019 21:53:48 +0900 (JST)
Subject: [ruby-changes:56488] Hiroshi SHIBATA: 8e6a68c18e (master): Use force flag for filter-branch.
https://git.ruby-lang.org/ruby.git/commit/?id=8e6a68c18e From 8e6a68c18edeb8dfef494862093539d987b6ad6a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sun, 14 Jul 2019 21:49:10 +0900 Subject: Use force flag for filter-branch. diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 5c9ee9a..27d8dbf 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -253,7 +253,7 @@ def sync_default_gems_with_commits(gem, range) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L253 break end - `git filter-branch --msg-filter 'echo "[#{$repositories[gem.to_sym]}]" && echo && cat' -- HEAD~1..HEAD` + `git filter-branch -f --msg-filter 'echo "[#{$repositories[gem.to_sym]}]" && echo && cat' -- HEAD~1..HEAD` end end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/