Re: Patches

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/03/97


On Wed, 3 Dec 1997, Rasdan wrote:

>diff circletest/src circle/src >> multi.diff but it didn't look like your
>standard patch. Can anyone tell me how to create a patch for others to
>use.

I typically do (from changed source directory):

diff -uprN ../stk . -x \*.o > ../filename.patch

-u = unified diff format (no !'s)
-p = show C function name
-r = recursive
-N = show new/deleted files
-x \*.o = don't compare .o files (they're always different)

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST