How to generate patches (was Re: [Mono-list] Javascript and Mono)

Joe Shaw
07 Jan 2003 10:56:19 -0500

On Tue, 2003-01-07 at 06:07, Dick Porter wrote:
> No, its "cvs diff -N -u",  or "diff -r -N -u olddir newdir" (depending
> on whether you're working from CVS files or not).
> The -N shows new files.  And you can add "diff -u" to ~/.cvsrc so you
> don't have to include it every time, because all diffs should be in
> unified format.

Also use -p, it shows the affected function name for a part of a diff. 
It helps quite a bit for context when just reading a patch.