From: Shawn Pearce Date: Sun, 31 Dec 2006 01:21:15 GMT Subject: Re: [PATCH 0/11] Misc. pull/merge/am improvements Message-ID: <20061231012115.GA5082@spearce.org> In-Reply-To: <7vmz57p6tn.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > > Junio C Hamano wrote: > >> While I was looking at the problem, I noticed something a bit > >> easier to reproduce and should be lot easier to diagnose. At > >> http://userweb.kernel.org/~junio/broken.tar, I have a tarball of > >> git.git repository. > > > > I think there is a thinko in the OFS_DELTA arm of that switch > statement. You are resetting buf to (in-pack-offset + used), so > you should fetch the variably encoded length starting from buf[0]. Yes. Your patch looks correct; that's a really bad thinko on my part. Thanks for tracking it down, and fixing it. -- Shawn.