summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-14 21:31:16 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-14 21:53:19 +0900
commit46491af74ca2266aae0157b79a44898a2f4b728d (patch)
tree11fee49ba3ea93d7602d5e9baf481df2e736a287 /tool
parent265e94a7fa96c918c4278ae58bf6e5cdb018906d (diff)
Modified commit message with upstream repository name.
Diffstat (limited to 'tool')
-rw-r--r--tool/sync_default_gems.rb2
1 files changed, 2 insertions, 0 deletions
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