summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/sync_default_gems.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 41d6d1dd51..5c2ffc649e 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -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
@@ -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:"