mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fetch the unmerged revision to test of bundled gems
This commit is contained in:
parent
abc4a46046
commit
d3940a533d
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ else
|
|||
puts "retrieving #{n} ..."
|
||||
system(*%W"git clone #{u} #{n}") or abort
|
||||
end
|
||||
if r
|
||||
puts "fetching #{r} ..."
|
||||
system("git", "fetch", "origin", r, chdir: n) or abort
|
||||
end
|
||||
c = r || "v#{v}"
|
||||
checkout = %w"git -c advice.detachedHead=false checkout"
|
||||
puts "checking out #{c} (v=#{v}, r=#{r}) ..."
|
||||
|
|
Loading…
Reference in a new issue