Re: [PATCH] git-fetch: avoid local fetching from alternate (again)
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Nov 8, 2007, 08:04 UTC
- Message-ID
- <20071108080446.GJ14735@spearce.org>
- In-Reply-To
- <7vsl3iefoj.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> 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.