test_source harmful?

Martin Pool mbp at sourcefrog.net
Fri Feb 27 06:56:11 GMT 2009


2009/2/27 Ben Finney <bignose+hates-spam at benfinney.id.au>:
> For reference, GNU diff has these options:
>
>       -b  --ignore-space-change
>              Ignore changes in the amount of white space.
>
>       -w  --ignore-all-space
>              Ignore all white space.
>
>       -B  --ignore-blank-lines
>              Ignore changes whose lines are all blank.
>

Yes, and none of those cause it to ignore only trailing whitespace.
-b is not is a great choice in a language with semantic whitespace.
(Which is almost every language, at least in quoted strings, but
especially so in Python.)

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list