git: Make git-wrapper copy post-receive as well.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sun, 30 Jan 2011 20:21:32 +0000 (21:21 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sun, 30 Jan 2011 20:53:27 +0000 (21:53 +0100)
usr/local/bin/git-wrapper

index 5481ffbf42f89e29303a64954e3429b0e1efab0f..e79896549d843768298bd65a591a5f6d39baedcc 100755 (executable)
@@ -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