Generating patches

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Generating patches

Postby kchung » Thu Dec 28, 2006 1:52 pm

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?
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby mflorell » Fri Dec 29, 2006 10:45 am

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
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Development

Who is online

Users browsing this forum: No registered users and 36 guests