[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] silly diff question


  • To: Andrew Thompson <andrewkt@xxxxxxxxxxx>
  • From: aq <aquynh@xxxxxxxxx>
  • Date: Mon, 30 May 2005 01:04:35 -0500
  • Cc: Xen Dev <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 30 May 2005 06:03:52 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ph4ZdlQYEemmE5UWbfafBuHp+I0v9fnj7p7PPSUGjvMVPv0vSc0sUrzZoNbM6GE8z9/mCgqkaimlaYoj11XW/PpwAI8VJZ5efniF7i5eF+cMW5uMcLrGPpEUxBZ0kYWeWmyIup+gMFSmUKB/8cQLc23ACFLW7tN/+bIEPZxbc90=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 5/30/05, Andrew Thompson <andrewkt@xxxxxxxxxxx> wrote:
> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.