From 792aae9b51a8c9e65a3d760f0bf6c155fd507edf Mon Sep 17 00:00:00 2001 From: Benjamin C Meyer Date: Thu, 1 Sep 2011 10:50:02 -0400 Subject: Include the directory .hooks inside the repository as one of the directories that are searched. Signed-off-by: Benjamin C Meyer --- git-hooks | 1 + 1 file changed, 1 insertion(+) 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} } -- cgit v1.2.3