git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Shawn O. PearceNext: Johannes Sixt
Message 6 of 7 in “git-fetch: avoid local fetching from alternate (again)”
  1. git-fetch: avoid local fetching from alternate (again)Shawn O. Pearce, Nov 7, 2007
  2. Junio C HamanoNov 7, 2007
  3. Junio C HamanoNov 7, 2007
  4. Junio C HamanoNov 7, 2007
  5. Shawn O. PearceNov 8, 2007
  6. Shawn O. PearceNov 8, 2007
  7. Johannes SixtNov 7, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.