From d450954d31df8d22c96ccd76d6af1d983266a2d4 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Tue, 25 Dec 2012 01:45:09 +0000 Subject: Rebuild if the source tree changed --- (limited to 'devbot/git.py') diff --git a/devbot/git.py b/devbot/git.py index 1e361f0..8f6699c 100644 --- a/devbot/git.py +++ b/devbot/git.py @@ -72,6 +72,10 @@ class Module: return subprocess.check_output(["git", "describe"]).strip() @_chdir + def diff(self): + return subprocess.check_output(["git", "diff"]) + + @_chdir def get_annotation(self, tag): # FIXME this is fragile, there must be a better way -- cgit v0.9.1