link post-receive script to the -with-diffs version
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 27 May 2010 08:09:43 +0000 (10:09 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 27 May 2010 08:09:43 +0000 (10:09 +0200)
scripts/git-check.sh

index 43f2c5d..7355f7a 100755 (executable)
@@ -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 ""
 }