ruby-changes:58555
From: Nobuyoshi <ko1@a...>
Date: Mon, 4 Nov 2019 09:42:13 +0900 (JST)
Subject: [ruby-changes:58555] 823f25bb96 (master): sync_default_gems.rb: Show the progress at fetching
https://git.ruby-lang.org/ruby.git/commit/?id=823f25bb96 From 823f25bb969a19c6c7055dabc5b33cd1fa709ac8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 4 Nov 2019 09:38:34 +0900 Subject: sync_default_gems.rb: Show the progress at fetching It looks like hanging up when fetching from a remote first time. diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index f2e61f6..0d9defe 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) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L226 `git remote add #{gem} git@g...:#{$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)} -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/