projects
/
invirt/scripts/git-hooks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reorganize git-hooks
[invirt/scripts/git-hooks.git]
/
sub
/
post-receive
diff --git a/sub/post-receive
b/sub/post-receive
new file mode 100755
(executable)
index 0000000..
e6987f1
--- /dev/null
+++ b/
sub/post-receive
@@ -0,0
+1,8
@@
+#!/bin/sh
+
+file=`mktemp -t git-receive.XXXXXX` || exit $?
+cat >$file
+
+"$PWD"/hooks/zephyr-post-receive <$file
+
+rm -f $file