Pascal Bourguignon <spam@thalassa.informatimago.com> wrote:
+---------------
| Ingvar Mattsson <ingvar@cathouse.bofh.se> writes:
| > Just for fun, do some changes to a file, bung teh diff in a web-based
| > mail client and then apply the diff to the original code and see what
| > (if anything) is different. Whitespace mutate much more than
| > non-whitespace characters (apart from possibly &, < and >) when they
| > get shuffled through different parts of code.
|
| Which leads me to use diff -NaurtwbB when I make patches.
+---------------
Boy, will *that* break Python!! That is, it fails to catch a number of
significant differences between the files (especially the "-b" & "-B").
Also, while "-b" is o.k. for most non-Python code, you really, *really*
don't want to be using "-w", since it fails to distinguish between "FOOBAR"
and "FOO BAR".
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607