aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.githooks/pre-push
diff options
context:
space:
mode:
Diffstat (limited to '.githooks/pre-push')
-rwxr-xr-x.githooks/pre-push5
1 files changed, 5 insertions, 0 deletions
diff --git a/.githooks/pre-push b/.githooks/pre-push
new file mode 100755
index 0000000..a04e596
--- /dev/null
+++ b/.githooks/pre-push
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Delegate to the global pre-push (signed-commits gate). This repo
+# overrides core.hooksPath to .githooks, so the global hook would not
+# otherwise run here.
+exec "$HOME/.config/git/hooks/pre-push" "$@"