Re: [HACKERS] patching question

2006-09-06 Thread Gevik Babakhani
On Wed, 2006-09-06 at 13:50 +0200, Martijn van Oosterhout wrote: > 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-

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 deve

[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