summaryrefslogtreecommitdiffstats
path: root/git-hooks/enable.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:32:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:32:49 +0000
commit8053187731ae8e3eb368d8360989cf5fd6eed9f7 (patch)
tree32bada84ff5d7460cdf3934fcbdbe770d6afe4cd /git-hooks/enable.sh
parentInitial commit. (diff)
downloadrnp-8053187731ae8e3eb368d8360989cf5fd6eed9f7.tar.xz
rnp-8053187731ae8e3eb368d8360989cf5fd6eed9f7.zip
Adding upstream version 0.17.0.upstream/0.17.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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"
+