[ECOS] Re: Command to generate a patch

Jonathan Larmour jifl@eCosCentric.com
Thu Oct 17 20:59:00 GMT 2002


Andrew Lunn wrote:
> On Thu, Oct 17, 2002 at 04:27:14PM +0100, Chris Garry wrote:
> 
>>Simple question: what do I type to generate a patch?
> 
> 
> Here is what i do:
> 
> I have in ~/.cvsrc :
> 
> diff -u

I heartily recommend:

diff -u5 -p

at least, and possibly

diff -u5 -p -N

if you prefer not to have to worry about new files. The -p can be useful 
in a large diff.

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


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list