projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e3f9a6
)
git: Make git-wrapper copy post-receive as well.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Sun, 30 Jan 2011 20:21:32 +0000
(21:21 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Sun, 30 Jan 2011 20:53:27 +0000
(21:53 +0100)
usr/local/bin/git-wrapper
patch
|
blob
|
history
diff --git
a/usr/local/bin/git-wrapper
b/usr/local/bin/git-wrapper
index 5481ffbf42f89e29303a64954e3429b0e1efab0f..e79896549d843768298bd65a591a5f6d39baedcc 100755
(executable)
--- a/
usr/local/bin/git-wrapper
+++ b/
usr/local/bin/git-wrapper
@@
-10,7
+10,7
@@
BASE_PATH='/data/vcs/git'
HOOKS_PATH="$BASE_PATH/hooks"
-HOOKS=
post-update
+HOOKS=
"post-update post-receive"
function init_repos() {
mkdir "$1" &> /dev/null || return 1