ruby-changes:57192
From: Nobuyoshi <ko1@a...>
Date: Tue, 20 Aug 2019 19:30:16 +0900 (JST)
Subject: [ruby-changes:57192] Nobuyoshi Nakada: 7a07c54bef (master): Subjects may contain a comma [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=7a07c54bef From 7a07c54bef599b7b0ce1dd8a6c13021f03a8220d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 20 Aug 2019 19:20:22 +0900 Subject: Subjects may contain a comma [ci skip] diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 462d963..eba001f 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) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L243 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. -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/