aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks b/git-hooks
index bab2b5d..1921f36 100755
--- a/git-hooks
+++ b/git-hooks
@@ -40,7 +40,7 @@ function hook_dirs
function list_hooks_in_dir
{
- find "${1}" -executable -type f 2>/dev/null | grep -v "^.$" | sort -V
+ find "${1}/" -executable -type f 2>/dev/null | grep -v "^.$" | sort -V
}
function run_hooks