[cmake-developers] local pre-commit hook (was: Some documentation patches)

Nicolas Desprès nicolas.despres at gmail.com
Thu Oct 27 10:33:22 EDT 2011


2011/10/26 Brad King <brad.king at kitware.com>:
> 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.

Right. Thanks.

-- 
Nicolas Desprès



More information about the cmake-developers mailing list