[cmake-developers] local pre-commit hook (was: Some documentation patches)
Brad King
brad.king at kitware.com
Wed Oct 26 11:51:29 EDT 2011
On 10/26/2011 11:07 AM, Nicolas Desprès wrote:
> 2011/10/24 Brad King<brad.king at kitware.com>:
>> Once merged to master then new work based on that version or later
>> will get this check if the local hooks are installed.
>
> Works perfectly! Thanks!
>
> git config hooks.chain-pre-commit Utilities/Git/pre-commit
You shouldn't need to do that if you have the latest hooks branch in
your .git/hooks directory. It will load the chain rule out of the
.hooks-config.bash at the top of the source tree.
-Brad
More information about the cmake-developers
mailing list