aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-07-29 21:08:28 +0200
committerGuido Günther <agx@sigxcpu.org>2011-07-29 21:08:28 +0200
commitb75fcd142b519865715be84315fc7517c0cb6247 (patch)
tree743d969eefea9c5b0315bc615662310839e09913
parent08ed86cfee2a4b89a31d1e3b176024c732a18cc7 (diff)
Silence git rev-parse
-rw-r--r--git/hooks/puppethooks/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/hooks/puppethooks/git.py b/git/hooks/puppethooks/git.py
index 7bae5b7..b2cf81c 100644
--- a/git/hooks/puppethooks/git.py
+++ b/git/hooks/puppethooks/git.py
@@ -46,7 +46,7 @@ def diff_cached(rev):
def verify_rev(rev):
"""Verify ref, return True if it's o.k."""
- return not subprocess.call(['git', 'rev-parse', '--verify', rev])
+ return not subprocess.call(['git', 'rev-parse', '-q', '--verify', rev])
def write_tmp_blob(dir, name, sha):