diff options
author | Benjamin C Meyer <ben@meyerhome.net> | 2011-09-01 10:50:02 -0400 |
---|---|---|
committer | Benjamin C Meyer <ben@meyerhome.net> | 2011-09-01 10:50:35 -0400 |
commit | 792aae9b51a8c9e65a3d760f0bf6c155fd507edf (patch) | |
tree | 7f71fa30ae080cc28c4525bceaa5843abe411907 | |
parent | 101a3b637c1208b5b4c681d53dd0c0a7121c0aaf (diff) | |
download | git-hooks-792aae9b51a8c9e65a3d760f0bf6c155fd507edf.tar.gz git-hooks-792aae9b51a8c9e65a3d760f0bf6c155fd507edf.tar.bz2 |
Include the directory .hooks inside the repository as one of the directories that are searched.
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
-rwxr-xr-x | git-hooks | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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} } |