begin  quoting Gregory K. Ruiz-Ade as of Wed, Mar 30, 2005 at 10:49:33AM -0800:
[snip]
> There are options to diff (or at least GNU diff) that cause it to 
> completely ignore whitespace in the lines it compares.  This would then 
> generate a patch file containing only your tangible changes.
 
If my goal is to steal your source and give it away by "patching" it,
I wouldn't use such options.

The "inadvertent" giving away of your source with my patches is a more
complicated case, and takes longer.

> Then again, you probably knew this. :)

Yes. 

(Developing in a mixed Linux/Solaris/OS-X/MSWindows environment often 
causes line-ending fun, so detecting this sort of thing with diff helps
to determine if a fix-the-line-endings is required, or if rolling back
suffices.  Likewise with various IDEs that "fix" source code indentation
for you.)

-Stewart "Let me append /* $line_number */ to every line in the file" Stremler
-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to