[cmake-developers] Some documentation patches

Nicolas Desprès nicolas.despres at gmail.com
Wed Oct 26 11:07:01 EDT 2011


2011/10/24 Brad King <brad.king at kitware.com>:
> On 10/24/2011 4:53 AM, Nicolas Desprès wrote:
>>
>> Ok. Here the real change applied on this file (except the remove of
>> the trailing white-space). It fixes some doxygen warnings:
>>
>> diff --git a/Source/kwsys/SystemTools.hxx.in
>> b/Source/kwsys/SystemTools.hxx.in
>
> I committed this separately, thanks.
>
>> Now the branch no longer touch this file.
>
> I merged the branch to 'next' for testing.
>
>> I am thinking that maybe it would be nice to have a pre-commit hook
>> that warn the developer not to modify some part of the tree.
>
> Good idea.  We already have some local hooks:
>
>  http://www.cmake.org/Wiki/Git/Hooks
>
> They use a common "hooks" branch shared in many Kitware projects.
> The common hooks support chaining to per-project hooks in the source
> tree.  I added a 'local-hooks' topic to chain hooks for CMake and
> then added a check for this:
>
>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b2d6adf1
>
> 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

-- 
Nicolas Desprès



More information about the cmake-developers mailing list