[Insight-developers] KWStyle not run when adding a file in git?

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Mon Oct 25 02:05:15 EDT 2010


Le 25 oct. 10 à 04:20, Matthew McCormick (thewtex) a écrit :

> Hi Gaetan,
>
>>> Hi,
>>>
>>> I had to fix a set of new files because of missing copyright headers
>>> today.
>>> When I tried to commit my changes, KWStyle blocked me because of  
>>> some non
>>> aligned typedefs and things of that kind.
>>> Shouldn't they have been detected first when I have added them in  
>>> the
>>> repository?
>>>
>
> Thanks for reporting this and your supposition is correct.  However, I
> cannot reproduce this behavior.  Can you please try again and send a
> problem file along with its path in its tree.
>

If you look in my patch "pad by 1 by default in  
ObjectByObjectLabelMapFilter",  
619bf1ae54af37cdf314884bce46bbd0477ef6a4, you can see that the Self  
typedef was misaligned in Code/Review/ 
itkObjectByObjectLabelMapFilter.h. The alignment has been fixed in  
that patch, but should have been detected earlier, during the addition  
of the file in git.

Gaëtan




-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20101025/99b132f7/attachment.pgp>


More information about the Insight-developers mailing list