Re: diff command line?

Jim Nelson
2005-03-05T16:54:45Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Russell King wrote:
| On Sat, Mar 05, 2005 at 10:48:00AM -0500, Gene Heskett wrote:
|
|>What are the options normally used to generate a diff for public
|>consumption on this list?
|
|
| diff -urpN orig new
|
| where "orig" and "new" both contain the top level "linux" directory,
| so the resulting patch can be applied with patch -p1.
|

You'd also want to add "-x dontdiff", using

http://developer.osdl.org/rddunlap/scripts/dontdiff-osdl

That way, you can do a diff, even if you have run a compile in one of the
directory trees.

- --
GPG Public key at pgp.mit.edu

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCKeIZevfmjTWdv3MRAjPYAJ9s3PrU/hjuILrGlIh3nuO/Scd4TACghQwQ
WD5p8VRpp6mfI+b+FOHZIn0=
=n8/k
-----END PGP SIGNATURE-----