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

Re: [PATCH 2/2] fetch-pack: do not check links for partial fetch

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 15, 2018, 17:15 UTC
Message-ID
<xmqqo9jp5kgv.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180314152429.df14adfb49b028e2e2a9001a@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
> Our only definition (currently) for the "partial" fetch boundary is
> whether an object in a promisor packfile (a packfile obtained from the
> promisor remote) references it, so I think that checking for crossing a
> "partial" fetch boundary does not add anything.

Ah, that's a perfect answer. When we find a link that leads to a missing object in a pack after receiving it from a remote repository that gives us promises, the missing object must be available from the remote repository by definition. Makes perfect sense ;-)

Thanks.
Previous: Jonathan Tan
Message 6 of 6 in “Make partial clone/fetch work when transfer.fsckobjects=1”
  1. 0/2 Make partial clone/fetch work when transfer.fsckobjects=1Jonathan Tan, Mar 14, 2018
  2. 1/2 index-pack: support checking objects but not linksJonathan Tan, Mar 14, 2018
  3. 2/2 fetch-pack: do not check links for partial fetchJonathan Tan, Mar 14, 2018
  4. Junio C HamanoMar 14, 2018
  5. Jonathan TanMar 14, 2018
  6. Junio C HamanoMar 15, 2018

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.