From: Junio C Hamano Date: Thu, 21 Jul 2005 03:57:49 GMT Subject: Re: Should cg-mkpatch output be usable with cg-patch? Message-ID: <7vackgerpe.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20050720234904.B3ED735267C@atlas.denx.de> Wolfgang Denk writes: > I wander what I should do with "cg-mkpatch" generated output; I had > the impression that this should be usable with "cg-patch", but these > are incompatible with each other. Forexample. if a commit contains > permission changes, my generated patch may look like this: Yes, cg-patch does grok git extended diff headers, but does it by hand and missing corner cases like this is understandable. I only briefly looked at cg-patch, but I suspect that it can lose 90% lines of its code by just using "git-apply --index". I see cg-patch wants to be able to do reverse patch, which is not supported by git-apply currently. Do people find "cg-patch -R" useful?