ruby-changes:67496
From: Nobuyoshi <ko1@a...>
Date: Tue, 31 Aug 2021 19:08:14 +0900 (JST)
Subject: [ruby-changes:67496] 41867532ac (master): No commits to pick is success [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=41867532ac From 41867532ac07515543e4d7e75094edeff09de743 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 31 Aug 2021 19:07:08 +0900 Subject: No commits to pick is success [ci skip] --- tool/sync_default_gems.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 41d6d1d..5c2ffc6 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) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L380 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) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L393 if commits.empty? puts "No commits to pick" - return + return true end puts "Try to pick these commits:" -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/