From: Shawn O. Pearce Date: Thu, 08 Nov 2007 08:04:46 GMT Subject: Re: [PATCH] git-fetch: avoid local fetching from alternate (again) Message-ID: <20071108080446.GJ14735@spearce.org> In-Reply-To: <7vsl3iefoj.fsf@gitster.siamese.dyndns.org> Junio C Hamano wrote: > "Shawn O. Pearce" writes: > > > Back in e3c6f240fd9c5bdeb33f2d47adc859f37935e2df Junio taught > > git-fetch to avoid copying objects when we are fetching from > > a repository that is already registered as an alternate object > > database. In such a case there is no reason to copy any objects > > as we can already obtain them through the alternate. > > The regression the patch fixes should be testable with a > script. Please have a new test for it. Hmmph. t5502-quickfetch should have covered this. It obviously wasn't testing the right thing here. I'll figure out why and post a patch to fix t5502. -- Shawn.