Permalink
Browse files

When we find hooks also look for symbolic links.

Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  • Loading branch information...
1 parent c353359 commit a0dd1a48585246d3d7ee4be8342d3e3763578bdd @icefox committed Jan 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-hooks
View
@@ -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

0 comments on commit a0dd1a4

Please sign in to comment.