ruby-changes:56618
From: Hiroshi <ko1@a...>
Date: Mon, 22 Jul 2019 18:01:22 +0900 (JST)
Subject: [ruby-changes:56618] Hiroshi SHIBATA: 9f9a6dbc14 (master): Allways fetch the latest commit from default gems repository.
https://git.ruby-lang.org/ruby.git/commit/?id=9f9a6dbc14 From 9f9a6dbc1491fa9407bf3da70646dc8636c566f5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Mon, 22 Jul 2019 18:00:37 +0900 Subject: Allways fetch the latest commit from default gems repository. diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 93031ac..7f125fa 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) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L234 IO.popen(%W"git remote") do |f| unless f.read.split.include?(gem) `git remote add #{gem} git@g...:#{$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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/