mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
No commits to pick is success [ci skip]
This commit is contained in:
parent
f315be2615
commit
41867532ac
1 changed files with 2 additions and 2 deletions
|
@ -380,7 +380,7 @@ def sync_default_gems_with_commits(gem, ranges, edit: nil)
|
||||||
range = "#{range}~1..#{range}"
|
range = "#{range}~1..#{range}"
|
||||||
end
|
end
|
||||||
|
|
||||||
IO.popen(%W"git log --format=%H,%s #{range}") do |f|
|
IO.popen(%W"git log --format=%H,%s #{range} --") do |f|
|
||||||
f.read.split("\n").reverse.map{|commit| commit.split(',', 2)}
|
f.read.split("\n").reverse.map{|commit| commit.split(',', 2)}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -393,7 +393,7 @@ def sync_default_gems_with_commits(gem, ranges, edit: nil)
|
||||||
|
|
||||||
if commits.empty?
|
if commits.empty?
|
||||||
puts "No commits to pick"
|
puts "No commits to pick"
|
||||||
return
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
puts "Try to pick these commits:"
|
puts "Try to pick these commits:"
|
||||||
|
|
Loading…
Reference in a new issue