In the submodule update hook, reject pushes to anything but branches.
[invirt/scripts/git-hooks.git] / sub / post-receive
index e6987f1..53bd274 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-file=`mktemp -t git-receive.XXXXXX` || exit $?
+file=`mktemp -t git-post-receive.XXXXXX` || exit $?
 cat >$file
 
 "$PWD"/hooks/zephyr-post-receive <$file