Date: Wed, 2 Jan 2008 07:41:40 -0900 From: Beech Rintoul <beech@freebsd.org> To: freebsd-questions@freebsd.org Cc: Valerio Daelli <valerio.daelli@gmail.com> Subject: Re: Question about a patch Message-ID: <200801020741.47096.beech@freebsd.org> In-Reply-To: <27dbfc8c0801020815h942fc0cmf264ceabf0b02d46@mail.gmail.com> References: <27dbfc8c0801020815h942fc0cmf264ceabf0b02d46@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 02 January 2008, Valerio Daelli said: > Hi > > I am about to send a patch about a port. I would like to move a > file of the port, located in the > 'files/' directory. Basically the file now is called netdisco.sh.in > and I would like to call it > netdisco.in. > If I use a normal 'diff -ruN' command to generate the patch, after > I apply the patch > the new file is created but the old file (netdisco.sh.in) is still > there, with zero size. > I wonder if I should generate a shar archive for this port instead > of a patch. Sorry if this question is so simple. > Bye > > Valerio Daelli That's normal. A unified diff is the preferred way. Whoever commits it will remove the file. You might make mention of the file in the comments just to be nice :-) Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html ---------------------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801020741.47096.beech>