Question for removing trailing whitespaces (not vertical tab) from source
Andrew Haley
aph@redhat.com
Tue Mar 13 15:47:00 GMT 2007
Ian Lance Taylor writes:
> I wonder if we could have some sort of svn trigger to check for
> trailing whitespace as a pre-commit check on .c and .h files?
It would be tricky, as we don't want it to barf on spaces that already
were there. The emacs magic works very well for me: I'm sure that I
have checked in no trailing spaces since enabling it.
Andrew.
More information about the Gcc
mailing list