From: Benjamin C Meyer Date: Thu, 1 Sep 2011 14:50:02 +0000 (-0400) Subject: Include the directory .hooks inside the repository as one of the directories that... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=792aae9b51a8c9e65a3d760f0bf6c155fd507edf;p=git-hooks.git Include the directory .hooks inside the repository as one of the directories that are searched. Signed-off-by: Benjamin C Meyer --- diff --git a/git-hooks b/git-hooks index 6f08899..3cce242 100755 --- a/git-hooks +++ b/git-hooks @@ -37,6 +37,7 @@ function hook_dirs GITDIR=`git rev-parse --git-dir` cd $GITDIR/.. echo "${PWD}/git_hooks${hook}" + echo "${PWD}/.hooks${hook}" eval echo "`git config hooks.global`"${hook} }