mirror of
https://github.com/reactos/CMake.git
synced 2025-01-18 17:35:03 +00:00
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.
This commit is contained in:
parent
773df0e2d7
commit
3288ab0c78
@ -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
|
Loading…
x
Reference in New Issue
Block a user