Re: [PATCH] Teach git-apply about '-R'
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 28, 2006, 19:36 UTC
- Message-ID
- <Pine.LNX.4.63.0607282135380.29667@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vhd11leny.fsf@assigned-by-dhcp.cox.net>
Hi,
On Fri, 28 Jul 2006, Junio C Hamano wrote:
Show 12 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> 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