How to generate a patch for a new file?
Dave Korn
dk@artimi.com
Wed Apr 21 18:23:00 GMT 2004
> -----Original Message-----
> From: binutils-owner On Behalf Of Peter Barada
> Sent: 21 April 2004 19:11
> I've got some new testcases for the ColdFire mac/emac
> instructions, and
> I'm trying to figure out the best way to generate a patch that incudes
> the new files as well as the modified files.
>
> Any suggestions are appreciated.
I too wish that cvs diff would pass the -N option. But it doesn't, so
generally I just checkout an unmodified copy of the original tree to a spare
directory somewhere and then run "diff -pruN" against it. Then I have to go
through and remove all the hunks referring to CVS files. Yech. The
alternative is to use cvs diff to get the changes, then use "diff -N"
against the individual files you've added, and append the patches together.
Also yech.
Hmmm, actually, passing -N down to diff might make a very useful patch for
CVS, mightn't it?
cheers,
DaveK
--
Can't think of a witty .sigline today....
More information about the Binutils
mailing list