]> gitweb.fluxo.info Git - git-hooks.git/commitdiff
Include the directory .hooks inside the repository as one of the directories that...
authorBenjamin C Meyer <ben@meyerhome.net>
Thu, 1 Sep 2011 14:50:02 +0000 (10:50 -0400)
committerBenjamin C Meyer <ben@meyerhome.net>
Thu, 1 Sep 2011 14:50:35 +0000 (10:50 -0400)
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
git-hooks

index 6f08899aee4841c9c2df819709f74d6d09d76d6a..3cce2420907f09e49bae428ca04a6ccb8f74330d 100755 (executable)
--- 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}
 }