aboutsummaryrefslogtreecommitdiffstats
path: root/tool/vcs.rb
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 /tool/vcs.rb
parent372fe0d4a8a431dbd95eca6eed059b4bb8cc8b98 (diff)
downloadruby-8efd24bc280c048bae35d4ae43112ba6112caa6a.tar.gz
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
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb4
1 files changed, 3 insertions, 1 deletions
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