From 52519728c21edab8d3d34cb6184576dfda5157d5 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 30 Jan 2011 21:21:32 +0100 Subject: [PATCH] git: Make git-wrapper copy post-receive as well. --- usr/local/bin/git-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2