From: aq Subject: Re: silly diff question Date: Mon, 30 May 2005 01:04:35 -0500 Message-ID: <9cde8bff0505292304242b8be0@mail.gmail.com> References: <429AA9C8.2080306@aktzero.com> Reply-To: aq Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <429AA9C8.2080306@aktzero.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andrew Thompson Cc: Xen Dev List-Id: xen-devel@lists.xenproject.org On 5/30/05, Andrew Thompson 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. >=20 > Do the name names of my pristine and tweaked folders make any difference? >=20 > 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 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