From: Johannes Schindelin Date: Fri, 28 Jul 2006 15:50:27 GMT Subject: Re: [PATCH] Teach git-apply about '-R' Message-ID: In-Reply-To: <7v3bcln3m5.fsf@assigned-by-dhcp.cox.net> Hi, On Fri, 28 Jul 2006, Junio C Hamano wrote: > Johannes Schindelin writes: > > > Signed-off-by: Johannes Schindelin > > A quick comment without looking much at the code. Do you sanely > bail out when asked to reverse-apply a binary patch? Nope. I swap old_sha1_prefix and new_sha1_prefix in that case, I hoped that is enough? > Also what was the reason to change an existing test vector in > 4102? That does not look like related to -R flag. I changed "copy" to "rename", so that I could reuse that patch to test -R, too. Note that in the end, the original test vector is written, and tested. Ciao, Dscho