Brendan wrote:Thanks for the patch. I didn't get around to making one because I didn't know how to make patch files. I can use diff, but the diff files don't look like patch files.
In UNIX/Linux or Win-XP (CYGWIN) it's extremely simple. Suppose you got 2 directories to compare, let's say
celestia.org
celestia
Then you just type into your terminal (here for simplicity in the directory where they are both located):
diff -r -bB -u celestia.org celestia > celestia.patch
The option parameters mean:
-r : do it recursively in all subdirectories...
-b -B : ignore blank lines
-u : make a 'unified' diff which is a popular and clever way to locate the places where the code differs.
'celestia.patch' is generated in the same directory and contains what you were after.
There is a host of other options, like you may skip certain file types like e.g. the object files in the comparison.
Bye Fridger