From: Johannes Schindelin Date: Fri, 28 Jul 2006 19:36:57 GMT Subject: Re: [PATCH] Teach git-apply about '-R' Message-ID: In-Reply-To: <7vhd11leny.fsf@assigned-by-dhcp.cox.net> Hi, On Fri, 28 Jul 2006, Junio C Hamano wrote: > Johannes Schindelin writes: > > > On Fri, 28 Jul 2006, Junio C Hamano wrote: > >> > >> 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? > > You would need something like this, at least for now, since both > deflated literal and deflated delta methods are irreversible. Somehow I had the impression that binary diff meant that you needed both objects in the object database. I was wrong. Ciao, Dscho