From: Thierry Parmentelat Date: Thu, 27 May 2010 08:09:43 +0000 (+0200) Subject: link post-receive script to the -with-diffs version X-Git-Tag: foo~131 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2628f7df869ba9af63402b18284d2fc46506f4fa;p=infrastructure.git link post-receive script to the -with-diffs version --- diff --git a/scripts/git-check.sh b/scripts/git-check.sh index 43f2c5d..7355f7a 100755 --- a/scripts/git-check.sh +++ b/scripts/git-check.sh @@ -76,7 +76,8 @@ function check_hooks () { b=$(basename $arg .git) git=${b}.git echo -n "$git " - (cd $git/hooks; [ -h post-receive ] || ln -sf /usr/share/doc/git-1.5.5.6/hooks/post-receive-email post-receive ) + # standard version is in /usr/share/doc/git-1.5.5.6/hooks/post-receive-email + (cd $git/hooks; [ -h post-receive ] || ln -sf /root/bin/post-receive-email-with-diffs post-receive ) done echo "" }