summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-22 18:00:37 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-22 18:00:37 +0900
commit9f9a6dbc1491fa9407bf3da70646dc8636c566f5 (patch)
tree09a9ef5bed4b01f80cd9cd7351fce017eeb2b654
parent1feda1c2b091b950efcaa481a11fd660efa9e717 (diff)
Allways fetch the latest commit from default gems repository.
-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 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(',')}