From 46491af74ca2266aae0157b79a44898a2f4b728d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@ruby-lang.org> Date: Sun, 14 Jul 2019 21:31:16 +0900 Subject: [PATCH] Modified commit message with upstream repository name. --- tool/sync_default_gems.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 9b882bb264..7f5e597f24 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -246,6 +246,8 @@ def sync_default_gems_with_commits(gem, range) puts "Failed to pick #{commit}." break end + + `git filter-branch --msg-filter 'echo "[#{$repositories[gem.to_sym]}]" && echo && cat' -- HEAD~1..HEAD` end end end