From 7a07c54bef599b7b0ce1dd8a6c13021f03a8220d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 20 Aug 2019 19:20:22 +0900 Subject: [PATCH] Subjects may contain a comma [ci skip] --- tool/sync_default_gems.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 462d9631be..eba001fdb1 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -243,7 +243,7 @@ def sync_default_gems_with_commits(gem, range) commits = [] IO.popen(%W"git log --format=%H,%s #{range}") do |f| - commits = f.read.split("\n").reverse.map{|commit| commit.split(',')} + commits = f.read.split("\n").reverse.map{|commit| commit.split(',', 2)} end # Ignore Merge commit and insufficiency commit for ruby core repository.