From 9f9a6dbc1491fa9407bf3da70646dc8636c566f5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 22 Jul 2019 18:00:37 +0900 Subject: Allways fetch the latest commit from default gems repository. --- tool/sync_default_gems.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 93031ac849..7f125fae29 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -234,9 +234,9 @@ def sync_default_gems_with_commits(gem, range) IO.popen(%W"git remote") do |f| unless f.read.split.include?(gem) `git remote add #{gem} git@github.com:#{$repositories[gem.to_sym]}.git` - `git fetch #{gem}` end end + `git fetch #{gem}` IO.popen(%W"git log --format=%H,%s #{range}") do |f| commits = f.read.split("\n").reverse.map{|commit| commit.split(',')} -- cgit v1.2.3