On Thu, Sep 13, 2001 at 06:41:00PM -0400, Dan Sugalski wrote:
> At 01:42 PM 9/13/2001 -0700, Benjamin Stuhl wrote:
> >Could we please get in the habit of adding a -c or a -u to
> >our CVS diffs, just as we would with normal patches?
> 
> Yes, please!
> 
> All diffs posted to the list should be either -c or -u diffs. Both can be 
> fed to patch, and both read far more easily than the plain diff output.

The following lines, placed in ~/.cvsrc, make cvs work much better:

  update -dP
  diff -u

The -d option to update makes cvs check out newly-created directories;
without it, it will silently ignore them.  -P prunes empty directories,
which compensates for the fact that directories can't be deleted.

And the -u to diff (or -c) is just a good idea. :>

                       - Damien

Reply via email to