summaryrefslogtreecommitdiff
path: root/scripts/git-hooks/install_hooks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/git-hooks/install_hooks.sh')
-rwxr-xr-xscripts/git-hooks/install_hooks.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/git-hooks/install_hooks.sh b/scripts/git-hooks/install_hooks.sh
deleted file mode 100755
index 9ab7342fc..000000000
--- a/scripts/git-hooks/install_hooks.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-
-REPO_PATH=$(git rev-parse --show-toplevel)
-REPO_HOOKS_PATH=scripts/git-hooks
-GIT_HOOKS_PATH=$REPO_PATH/.git/hooks
-REPO_PATH_REL=../.. # Relative path from REPO_HOOKS_PATH
-
-# Create symbolic links to hooks dir
-
-# NOTE `ln -s` does not overwrite if the file exists.
-ln -s $REPO_PATH_REL/$REPO_HOOKS_PATH/pre-push $GIT_HOOKS_PATH/pre-push