aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/post-receive.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/post-receive.hook b/tools/post-receive.hook
index 8f05b8d..78ddf9b 100755
--- a/tools/post-receive.hook
+++ b/tools/post-receive.hook
@@ -23,7 +23,7 @@ trap "do_exit=1" INT
get_patchwork_hash()
{
local hash
- hash=$(git show $1 | python $PWDIR/parser.py --hash)
+ hash=$(git show -C $1 | python $PWDIR/parser.py --hash)
echo $hash
test -n "$hash"
}