diff options
author | Benjamin C Meyer <ben@meyerhome.net> | 2012-01-25 00:49:05 -0500 |
---|---|---|
committer | Benjamin C Meyer <ben@meyerhome.net> | 2012-01-25 00:49:37 -0500 |
commit | a0dd1a48585246d3d7ee4be8342d3e3763578bdd (patch) | |
tree | 83c0c0df7ca17a01454b51b86a92fcb977e49d1d | |
parent | c353359930fbf255861ca7295d606364e1f6bc91 (diff) | |
download | git-hooks-a0dd1a48585246d3d7ee4be8342d3e3763578bdd.tar.gz git-hooks-a0dd1a48585246d3d7ee4be8342d3e3763578bdd.tar.bz2 |
When we find hooks also look for symbolic links.
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
-rwxr-xr-x | git-hooks | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ function hook_dirs function list_hooks_in_dir { - find "${1}/" -perm +111 -type f 2>/dev/null | grep -v "^.$" | sort + find "${1}/" -L -perm +111 -type f 2>/dev/null | grep -v "^.$" | sort } function run_hooks |