Page 1 of 1

Generating patches

PostPosted: Thu Dec 28, 2006 1:52 pm
by kchung
I've installed 2.0.2 and applied my patches to the install directory structure. What's the best way to generate a set of patches for me to submit? What command lines do you like when running diff between two directories?

PostPosted: Fri Dec 29, 2006 10:45 am
by mflorell
Take a look at this description of the "diff" utility:
http://www.opengroup.org/pubs/online/79 ... /diff.html

For directories you will need to use the -r flag.

You will want to send output from diff to a txt file that you can more easily look at or move around. Something like this should work:

diff -ur /usr/dir1/ /usr/dir2/ >> new_file.patch