From 2628f7df869ba9af63402b18284d2fc46506f4fa Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 27 May 2010 10:09:43 +0200 Subject: [PATCH] link post-receive script to the -with-diffs version --- scripts/git-check.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 "" } -- 2.43.0