Skip to contentSkip to conversation

silly diff question

DISCUSSION Andrew Thompson 2 participants 2 messages May 30, 2005

lore
Share & tools
lore
#0 lore raw

I'd like to submit a few updates to some documentation. I've never done this before, so I'm not sure how to call diff to get an acceptable patch.

Do the name names of my pristine and tweaked folders make any difference?

I have looked at a few PATCH emails and think that this is the command I should use: diff -Nru oldfolder newfolder

Is that acceptable, or should I use something else?

Signature · 2 lines
Andrew Thompson
http://aktzero.com/

begin:vcard
fn:Andrew Thompson
n:Thompson;Andrew
email;internet:[email protected]
x-mozilla-html:FALSE
version:2.1
end:vcard

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 7 lines · Andrew Thompson

I'd like to submit a few updates to some documentation. I've never done this before, so I'm not sure how to call diff to get an acceptable patch.

Do the name names of my pristine and tweaked folders make any difference?

I have looked at a few PATCH emails and think that this is the command I should use: diff -Nru oldfolder newfolder

i usually use diff like this: diff -Nurp <origine> <modified>

it is better to run this command from outside of the top directory of xen, for example: diff -Nurp xen-2.0.6.org xen-2.0.6.modified > mypatch

the you will want to submit the "mypatch" file just generated to the list.

see also -X and -x option of diff. these option will be helpful to you.

good luck,
aq