summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-shell-commands/hook-install1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-shell-commands/hook-install b/git-shell-commands/hook-install
index 482a915..afc4e5d 100755
--- a/git-shell-commands/hook-install
+++ b/git-shell-commands/hook-install
@@ -13,7 +13,6 @@ clone="${4:-${repo}}"
# Tests
test -f "${repo}/HEAD"
test -f "${clone}/.git/HEAD"
-test -f "${repo}/hooks/${hook_name}"
# Installs the generic hook that runs scripts
test -f "${repo}/hooks/${hook}" || \