summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-27 05:20:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-27 05:20:21 +0000
commit8efd24bc280c048bae35d4ae43112ba6112caa6a (patch)
treea8361237be37769df3c732a86c2e6d91f3ba0050
parent372fe0d4a8a431dbd95eca6eed059b4bb8cc8b98 (diff)
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
-rw-r--r--tool/vcs.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 0a59f43..21ea316 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