projects
/
sockgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make post-receive executable
[sockgit.git]
/
templates
/
hooks
/
post-receive
diff --git
a/templates/hooks/post-receive
b/templates/hooks/post-receive
old mode 100644
(file)
new mode 100755
(executable)
index
8847b24
..
abedfa7
--- a/
templates/hooks/post-receive
+++ b/
templates/hooks/post-receive
@@
-1,3
+1,4
@@
-while read OLD_REV NEW_REF REF_NAME; do
+#!/bin/bash
+while read OLD_REV NEW_REV REF_NAME; do
git push public $NEW_REV:$REF_NAME
done