From: Tomas Carnecky Date: Sat, 08 Jan 2011 15:51:32 GMT Subject: Re: Creating CVS-style patch headers with git-diff Message-ID: <4D288804.2050204@dbservice.com> In-Reply-To: On 1/8/11 4:35 PM, David Chanters wrote: > Sorry about that, that's poor wording on my part. I don't mean "CVS > won't barf" -- I meant that GNU Patch can still apply the patch > without the meta-data referencing git still. I think though this > "--no-prefix" option might just do it. Update your gnu patch. Never versions know how to handle the git specific metadata (gnu patch simply ignores it). And the a/, b/ prefix is *not* git specific. Pretty much all versions of a patch program know how to deal with that, you just need to use -p1 on the commandline. tom