From: Matthijs Kooijman Date: Sun, 30 Jan 2011 20:21:32 +0000 (+0100) Subject: git: Make git-wrapper copy post-receive as well. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=52519728c21edab8d3d34cb6184576dfda5157d5;p=matthijs%2Fservers%2Fdrsnuggles.git git: Make git-wrapper copy post-receive as well. --- diff --git a/usr/local/bin/git-wrapper b/usr/local/bin/git-wrapper index 5481ffb..e798965 100755 --- 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