Skip to content

Commit

Permalink
No commits to pick is success [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Aug 31, 2021
1 parent f315be2 commit 4186753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/sync_default_gems.rb
Expand Up @@ -380,7 +380,7 @@ def sync_default_gems_with_commits(gem, ranges, edit: nil)
range = "#{range}~1..#{range}"
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)}
end
end
Expand All @@ -393,7 +393,7 @@ def sync_default_gems_with_commits(gem, ranges, edit: nil)

if commits.empty?
puts "No commits to pick"
return
return true
end

puts "Try to pick these commits:"
Expand Down

0 comments on commit 4186753

Please sign in to comment.