[HACKERS] patching question

2006-09-06 Thread Gevik Babakhani
Sorry to ask this question here...
How do I include newly created files in a patch with difforig or patch
Thank you.


---(end of broadcast)---
TIP 6: explain analyze is your friend


Re: [HACKERS] patching question

2006-09-06 Thread Martijn van Oosterhout
On Wed, Sep 06, 2006 at 01:37:51PM +0200, Gevik Babakhani wrote:
 Sorry to ask this question here...
 How do I include newly created files in a patch with difforig or patch
 Thank you.

The -N option to diff treats non-existant files as empty. So diff
-crN should do it.

Have you read the developers FAQ?

Have a nice day,
-- 
Martijn van Oosterhout   kleptog@svana.org   http://svana.org/kleptog/
 From each according to his ability. To each according to his ability to 
 litigate.


signature.asc
Description: Digital signature