From 80c51bf0a524ed80c0c248374a75e7fc392e1a3d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 6 Mar 2009 00:42:59 -0400 Subject: Added call to TopGit's pre-commit hook in mine --- tools/pre-commit | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/pre-commit') 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 -- cgit v1.2.3