diff options
-rwxr-xr-x | git-hooks | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -99,7 +99,9 @@ function install_hooks echo "hooks.old already exists, perhaps you already installed?" return 1 fi + set -e mv hooks hooks.old + set +e mkdir hooks cd hooks for file in applypatch-msg commit-msg post-applypatch post-checkout post-commit post-merge post-receive pre-applypatch pre-auto-gc pre-commit prepare-commit-msg pre-rebase pre-receive update pre-push |