Creating a patch

Liam J. Foy liamfoy at sepulcrum.org
Thu Mar 24 15:36:11 PST 2005


On Fri(25)/Mar/05 - , Simon 'corecode' Schubert wrote:
> On 25.03.2005, at 00:04, Jasse Jansson wrote:
> >This works fine, but the first two lines looks like this
> >
> >--- sbin/i386/fdisk/fdisk.c	2004-12-18 22:43:38.000000000 +0100
> >+++ sbin/i386/fdisk/fdisk.c.local	2005-03-25 00:10:45.000000000 +0100
> >
> >It looks like to me that fdisk.c should be replaced with fdisk.c.local.
> 
> well, not really. this should work well
> 
> >The patches posted in the submit list don't have the .local extension.
> 
> yes, they are cvs diffs.
> 
> >Should I have diffed the checked out source with my changes
> >against the repository?
> 
> yes, that's the easiest way:
> 
> cvs diff -u

You can set this in .cvsrc also:

diff -u

> 
> >If this is the case, how do I make a reference to the repository
> >that diff understands?
> >The manpage don't even mention this case.
> 
> I'm not sure what you want to ask. cvs knows about the repository etc, 
> because of its CVS/* maintainance files
> 
> cheers
>   simon
> 
> -- 
> Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
> Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
> Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
> Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
> 



-- 
			- Liam J. Foy
			<liamfoy at xxxxxxxxxxxxx>
			http://www.bsd-systems.co.uk





More information about the Users mailing list