Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/git.py
diff options
context:
space:
mode:
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