This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: How to generate a patch for a new file?
- From: kaih at khms dot westfalen dot de (Kai Henningsen)
- To: binutils at sources dot redhat dot com
- Date: 22 Apr 2004 19:10:00 +0200
- Subject: Re: How to generate a patch for a new file?
- Comment: Unsolicited commercial mail will incur an US$100 handling fee per received mail.
- Organization: Organisation? Me?! Are you kidding?
- References: <NUTMEGhHmdGOApCc1aF00000556@NUTMEG.CAM.ARTIMI.COM>
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