diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-11-03 15:59:00 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-11-03 17:13:08 +0100 |
commit | 1418b3556469387cf61b13dbcdffc26d9c5b8115 (patch) | |
tree | 7ac78a8b14fc00690215e66a8af71e3047b706e2 | |
parent | 26151da06a397b259f811f44965018420fb3af98 (diff) |
-rw-r--r-- | git/hooks/puppethooks/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/hooks/puppethooks/git.py b/git/hooks/puppethooks/git.py index 450bbd7..a1c5dc6 100644 --- a/git/hooks/puppethooks/git.py +++ b/git/hooks/puppethooks/git.py @@ -48,7 +48,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', '-q', '--verify', rev]) + return not subprocess.call(['git', 'rev-parse', '-q', '--verify', '--no-revs', rev]) def write_tmp_blob(dir, name, sha): |