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

Re: [PATCH] fetch-pack: approximate no_dependents with filter

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 29, 2018, 20:26 UTC
Message-ID
<xmqqftxs82yh.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180924154516.48704-1-jonathantanmy@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
Show 7 quoted lines
> This was prompted by a user at $DAY_JOB who had a partial clone
> excluding trees, and had a workflow that only required tree objects (and
> not blobs).
>
> This will hopefully make partial clones excluding trees (with the
> "tree:0" filter) a bit better, in that if an operation requires only
> trees to be inspected, the required download is much smaller.
This seems to break 5520 and 5616 when merged to 'pu'.  

It seems that merging master to md/filter-trees and then applying this is sufficient to break 5616.

Previous: Jonathan TanNext: Jonathan Tan
Message 4 of 7 in “fetch-pack: approximate no_dependents with filter”
  1. fetch-pack: approximate no_dependents with filterJonathan Tan, Sep 24, 2018
  2. Junio C HamanoSep 25, 2018
  3. Jonathan TanSep 27, 2018
  4. Junio C HamanoSep 29, 2018
  5. 0/2 Lazy fetch bug fix (and feature that reveals it)Jonathan Tan, Oct 3, 2018
  6. 1/2 fetch-pack: avoid object flags if no_dependentsJonathan Tan, Oct 3, 2018
  7. 2/2 fetch-pack: exclude blobs when lazy-fetching treesJonathan Tan, Oct 3, 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.