summaryrefslogtreecommitdiff
path: root/tools/pre-commit
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-06 00:42:59 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-06 00:42:59 -0400
commit80c51bf0a524ed80c0c248374a75e7fc392e1a3d (patch)
tree9dabc70df77525369eb7ffefa278180885ddaf80 /tools/pre-commit
parent17cbb9d21054ac40301099b7bac9f745433b3d7b (diff)
downloadfork-ledger-80c51bf0a524ed80c0c248374a75e7fc392e1a3d.tar.gz
fork-ledger-80c51bf0a524ed80c0c248374a75e7fc392e1a3d.tar.bz2
fork-ledger-80c51bf0a524ed80c0c248374a75e7fc392e1a3d.zip
Added call to TopGit's pre-commit hook in mine
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