summaryrefslogtreecommitdiff
path: root/tool/vcs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 4c0dcce4b0..e38d1cfc56 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -130,6 +130,11 @@ class VCS
return last, changed, modified, *rest
end
+ def modified(path)
+ last, changed, modified, *rest = get_revisions(path)
+ modified
+ end
+
def relative_to(path)
if path
srcdir = File.realpath(@srcdir)