[Insight-developers] Followup: using uncrustify
Michael Stauffer (Circular Logic)
mstauff at verizon.net
Wed Dec 15 12:24:07 EST 2010
Hi again,
I've got it working now, sorry. So the "trailing whitespaces" errors
must be coming from git itself. Once I fixed those manually, uncrustify
ran and launched the mergetool. Very cool!
Is there a way to get uncrustify or something else to fix trailing
whitespaces? If not, I'll try to write a simple script myself.
Cheers,
Michael
>-----Original Message-----
>From: Michael Stauffer (Circular Logic) [mailto:mstauff at verizon.net]
>Sent: Wednesday, December 15, 2010 11:47 AM
>To: 'ITK-dev-list'
>Subject: using uncrustify
>
>Hi,
>
>I'm trying to run uncrustify via the commit hooks to remove a
>whole bunch of kwstyle errors with trailing whitespace. I've
>enabled it via 'git config hooks.uncrustify true', but it
>doesn't seem to be doing anything I can see. Is there an
>intermediate output file I should see that has my changed
>source? Am I wrong to think that uncrustify should remove
>trailing whitespaces?
>
>I've installed uncrustify 0.56 and set the env var
>UNCRUSTIFYBIN to point to the exe.
>
>Sorry if this is explained somewhere that I've missed, I can't
>seem to find it in any documentation.
>
>Thanks.
>
>Cheers,
>Michael ``
More information about the Insight-developers
mailing list