Re: Creating CVS-style patch headers with git-diff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]