diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-31 19:07:08 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-31 19:07:08 +0900 |
commit | 41867532ac07515543e4d7e75094edeff09de743 (patch) | |
tree | 18cca1b8616c624de9158ad29b051db7b5e504c4 /tool/sync_default_gems.rb | |
parent | f315be261502ac60b351d02f711d787b217e9c7c (diff) |
No commits to pick is success [ci skip]
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r-- | tool/sync_default_gems.rb | 4 |
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:" |