summaryrefslogtreecommitdiffstats
path: root/git-hooks/enable.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-hooks/enable.sh')
-rwxr-xr-xgit-hooks/enable.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-hooks/enable.sh b/git-hooks/enable.sh
new file mode 100755
index 0000000..7a32117
--- /dev/null
+++ b/git-hooks/enable.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+ln -sf ../../git-hooks/pre-commit.sh "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
+