From owner-freebsd-questions@FreeBSD.ORG Wed Jan 2 16:43:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60B7C16A469 for ; Wed, 2 Jan 2008 16:43:07 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id AD5A113C469 for ; Wed, 2 Jan 2008 16:43:06 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m02GgvWe003505; Wed, 2 Jan 2008 16:42:58 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.4.1 smtp.infracaninophile.co.uk m02GgvWe003505 Authentication-Results: smtp.infracaninophile.co.uk; dkim=hardfail (SSP) header.i=unknown Message-ID: <477BBF11.305@infracaninophile.co.uk> Date: Wed, 02 Jan 2008 16:42:57 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: Valerio Daelli References: <27dbfc8c0801020815h942fc0cmf264ceabf0b02d46@mail.gmail.com> In-Reply-To: <27dbfc8c0801020815h942fc0cmf264ceabf0b02d46@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 02 Jan 2008 16:42:58 +0000 (GMT) X-Virus-Scanned: ClamAV 0.92/5341/Wed Jan 2 14:56:06 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions Subject: Re: Question about a patch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 16:43:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Valerio Daelli wrote: > 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. > Just send in the 'diff -Nur' output, but make a note in your PR that the filename has been changed. The committer will be able to make it all right in CVS. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHe78R8Mjk52CukIwRCMHAAKCDaQvbVkhCLBDw/Eb3yfKviT6dQgCeK3Bi SIR3eFVV5Cn37PLMvST4JoI= =5+GC -----END PGP SIGNATURE-----