This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Command to generate a patch


Gary Thomas wrote:
On Thu, 2002-10-17 at 09:27, Chris Garry wrote:

Simple question: what do I type to generate a patch?

Assuming you are working from CVS (which we always suggest):
  % cvs diff
or
  $ cvs diff <directory-or-file>
My 2c: I use cvs -q diff, to stop it whinging about directories.

One thing I like is to add this to ~/.cvsrc:
	diff -u5 -p -N
Agreed. Although in some rare cases context diffs are more useful (-v5 instead of -u5) unified diffs are generally better IMHO. Personal taste I know.

Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]