mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Allways fetch the latest commit from default gems repository.
This commit is contained in:
parent
1feda1c2b0
commit
9f9a6dbc14
1 changed files with 1 additions and 1 deletions
|
@ -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(',')}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue