Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/git.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-25 01:45:09 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-25 01:45:09 (GMT)
commitd450954d31df8d22c96ccd76d6af1d983266a2d4 (patch)
tree9a5cd975ac800664814383481d71158b8dfa1fcf /devbot/git.py
parent4f9a11409b3b3ea9d2415472b29a481834089a1e (diff)
Rebuild if the source tree changed
Diffstat (limited to 'devbot/git.py')
-rw-r--r--devbot/git.py4
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