Convert local hook configuration to a Git config file format

The `git config` format is cleaner than a bash script and is also
supported by our `hooks` branch to specify CMake-specific hooks.
stage/master/nightly/2017/03/03
Brad King 2017-01-31 10:56:35 -05:00
parent 773df0e2d7
commit 3288ab0c78
1 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@
# Loaded by .git/hooks/(pre-commit|commit-msg|prepare-commit-msg)
# during git commit after local hooks have been installed.
hooks_chain_pre_commit="Utilities/Git/pre-commit"
hooks_chain_commit_msg="Utilities/Git/commit-msg"
hooks_chain_prepare_commit_msg="Utilities/Git/prepare-commit-msg"
[hooks "chain"]
pre-commit = Utilities/Git/pre-commit
commit-msg = Utilities/Git/commit-msg
prepare-commit-msg = Utilities/Git/prepare-commit-msg