2011/10/24 Brad King <brad.k...@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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to