This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: How to generate a patch for a new file?


dk@artimi.com (Dave Korn)  wrote on 21.04.04 in <NUTMEGhHmdGOApCc1aF00000556@NUTMEG.CAM.ARTIMI.COM>:

> directory somewhere and then run "diff -pruN" against it.  Then I have to go
> through and remove all the hunks referring to CVS files.  Yech.  The

That's what the --exclude option is for.

diff -pruN --exclude=CVS dir1 dir2

(We ARE talking GNU diff, right?)

MfG Kai


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