summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-04 09:38:34 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-04 09:40:26 +0900
commit823f25bb969a19c6c7055dabc5b33cd1fa709ac8 (patch)
treed24e0e1bea66d4c94e1b4ffb463095fb33b3b398
parentcbbdb4e5a2eb46750d3c455def99486d23fc625b (diff)
downloadruby-823f25bb969a19c6c7055dabc5b33cd1fa709ac8.tar.gz
sync_default_gems.rb: Show the progress at fetching
It looks like hanging up when fetching from a remote first time.
-rw-r--r--tool/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 f2e61f68ca..0d9defe278 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -226,7 +226,7 @@ def sync_default_gems_with_commits(gem, range)
`git remote add #{gem} git@github.com:#{$repositories[gem.to_sym]}.git`
end
end
- `git fetch --no-tags #{gem}`
+ system(*%W"git fetch --no-tags #{gem}")
commits = IO.popen(%W"git log --format=%H,%s #{range}") do |f|
f.read.split("\n").reverse.map{|commit| commit.split(',', 2)}