Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

Re: [Xen-devel] silly diff question

To: Andrew Thompson <andrewkt@xxxxxxxxxxx>
Subject: Re: [Xen-devel] silly diff question
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <429AA9C8.2080306@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <429AA9C8.2080306@xxxxxxxxxxx>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>