aboutsummaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-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):