summary refs log tree commit diff
path: root/githooks/install-hooks
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2022-06-18 16:30:26 +0000
committeredef <edef@unfathomable.blue>2022-06-18 16:34:04 +0000
commit3a225c1060beb3202f2d56df9d92923ec7da8f3b (patch)
treecd2489482eee5c167b45e3aa0471ece934c6d608 /githooks/install-hooks
parent1f337530756e0fa5e95df6a093504b8c834679a6 (diff)
downloadunf-legacy-3a225c1060beb3202f2d56df9d92923ec7da8f3b.tar.zst
githooks: init
A place for git hooks to live, with an installation script that wires
up core.hooksPath correctly.

Change-Id: Icf6250764cf580067871580d74f6d5ddc52820eb
Diffstat (limited to 'githooks/install-hooks')
-rwxr-xr-xgithooks/install-hooks2
1 files changed, 2 insertions, 0 deletions
diff --git a/githooks/install-hooks b/githooks/install-hooks
new file mode 100755
index 0000000..7fb85db
--- /dev/null
+++ b/githooks/install-hooks
@@ -0,0 +1,2 @@
+#! /usr/bin/env bash
+git config core.hooksPath githooks