Re: [PATCH 0/11] Misc. pull/merge/am improvements
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Dec 31, 2006, 01:21 UTC
- Message-ID
- <20061231012115.GA5082@spearce.org>
- In-Reply-To
- <7vmz57p6tn.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 10 quoted lines
> > Junio C Hamano <junkio@cox.net> 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.