diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-04 09:38:34 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-04 09:40:26 +0900 |
commit | 823f25bb969a19c6c7055dabc5b33cd1fa709ac8 (patch) | |
tree | d24e0e1bea66d4c94e1b4ffb463095fb33b3b398 | |
parent | cbbdb4e5a2eb46750d3c455def99486d23fc625b (diff) | |
download | ruby-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.rb | 2 |
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)} |