From 8efd24bc280c048bae35d4ae43112ba6112caa6a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 27 Jan 2015 05:20:21 +0000 Subject: vcs.rb: include svn property commits * tool/vcs.rb (VCS::GIT.get_revisions): omit "." to include svn property only commits. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/vcs.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tool') diff --git a/tool/vcs.rb b/tool/vcs.rb index 0a59f43608..21ea316166 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -261,7 +261,9 @@ class VCS log = IO.pread(logcmd) last = log[idpat, 1] if path - log = IO.pread(logcmd + [path]) + cmd = logcmd + cmd += [path] unless path == '.' + log = IO.pread(cmd) changed = log[idpat, 1] else changed = last -- cgit v1.2.3