ruby-changes:48163
From: nobu <ko1@a...>
Date: Sat, 21 Oct 2017 23:06:27 +0900 (JST)
Subject: [ruby-changes:48163] nobu:r60277 (trunk): fix up r60243
nobu 2017-10-21 23:06:22 +0900 (Sat, 21 Oct 2017) New Revision: 60277 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60277 Log: fix up r60243 * tool/vcs.rb (VCS::GIT.get_revisions): use last revision also as changed revision when the head does not have svn ID. Modified files: trunk/tool/vcs.rb Index: tool/vcs.rb =================================================================== --- tool/vcs.rb (revision 60276) +++ tool/vcs.rb (revision 60277) @@ -359,7 +359,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L359 cmd = logcmd cmd += [path] unless path == '.' log = cmd_read_at(srcdir, [cmd]) - changed = log[idpat, 1] + changed = log[idpat, 1] || last else changed = last end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/