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