summaryrefslogtreecommitdiff
path: root/tools/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pre-commit')
-rwxr-xr-xtools/pre-commit2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/pre-commit b/tools/pre-commit
index 57ba0854..b171a83b 100755
--- a/tools/pre-commit
+++ b/tools/pre-commit
@@ -1,5 +1,7 @@
#!/bin/sh
+"$(tg --hooks-path)"/pre-commit "$@" || exit $?
+
# These are the locations I keep my temporary source and build trees in
TMPDIR=$HOME/Products/ledger-pre-commit
MIRROR=$HOME/Products/ledger-pre-commit-mirror