usinig cvs diff to make a patch

Garance A Drosihn drosih at rpi.edu
Tue Feb 3 12:48:40 PST 2009


At 2:17 PM -0500 2/3/09, Aryeh M. Friedman wrote:
>I use a local cvs repo and I have modified a port and which to 
>submit an update for it how do I generate a patch file with cvs (cvs 
>diff seems to give a unusable format)?

try:   cvs diff -u

In my case, i have added the following line to my ~/.cvsrc file:

diff -uN

(-N means "treat absent files as empty")

-- 
Garance Alistair Drosehn            =   gad at gilead.netel.rpi.edu
Senior Systems Programmer           or  gad at freebsd.org
Rensselaer Polytechnic Institute    or  drosih at rpi.edu


More information about the freebsd-hackers mailing list