Creating a patch

Jasse Jansson jasse at hornet.ac
Thu Mar 24 15:32:10 PST 2005


On Mar 25, 2005, at 12:17 AM, 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

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

I used diff. Missed the cvs part. I should be fine now. Thanks.

J^2








More information about the Users mailing list