From fe7f05183243fd4c708d4a44e25c954334fc34f7 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 21 Oct 2017 14:06:22 +0000 Subject: 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/vcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool') diff --git a/tool/vcs.rb b/tool/vcs.rb index 3002d417a1..22fcaf6025 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -359,7 +359,7 @@ class VCS 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 -- cgit v1.2.3