Thread: patching question
Sorry to ask this question here... How do I include newly created files in a patch with difforig or patch Thank you.
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.
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-existant files as empty. So "diff > -crN" should do it. > > Have you read the developers FAQ? Yes, I guess I missed that one. > > Have a nice day,