diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-25 01:45:09 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-25 01:45:09 (GMT) |
commit | d450954d31df8d22c96ccd76d6af1d983266a2d4 (patch) | |
tree | 9a5cd975ac800664814383481d71158b8dfa1fcf /devbot/git.py | |
parent | 4f9a11409b3b3ea9d2415472b29a481834089a1e (diff) |
Rebuild if the source tree changed
Diffstat (limited to 'devbot/git.py')
-rw-r--r-- | devbot/git.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |