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

Re: [PATCH v2 0/6] Partial clone part 1: object filtering

From
JHJeff Hostetler <git@jeffhostetler.com>
Date
Nov 3, 2017, 13:43 UTC
Message-ID
<bd41699f-19c7-02a0-0af1-8f22b3277a1b@jeffhostetler.com>
In-Reply-To
<20171102124445.fbffd43521cd35f6a71e1851@google.com>
On 11/2/2017 3:44 PM, Jonathan Tan wrote:
Show 26 quoted lines
> On Thu,  2 Nov 2017 17:50:07 +0000
> Jeff Hostetler <git@jeffhostetler.com> wrote:
> 
>> From: Jeff Hostetler <jeffhost@microsoft.com>
>>
>> Here is V2 of the list-object filtering. It replaces [1]
>> and reflect a refactoring and simplification of the original.
> 
> Thanks, overall this looks quite good. I reviewed patches 2-6 (skipping
> 1 since it's already in next), made my comments on 4, and don't have any
> for the rest (besides what's below).
> 
>> I've added "--filter-ignore-missing" parameter to rev-list and
>> pack-objects to ignore missing objects rather than error out.
>> This allows this patch series to better stand on its own eliminates
>> the need in part 1 for "patch 9" from V1.
>>
>> This is a brute force ignore all missing objects.  Later, in part
>> 2 or part 3 when --exclude-promisor-objects is introduced, we will
>> be able to ignore EXPECTED missing objects.
> 
> (This is regarding patches 5 and 6.) Is the intention to support both
> flags? (That is, --ignore-missing to ignore without checking whether the
> object being missing is not unexpected, and --exclude-promisor-objects
> to check and ignore.)
> 

Yes, I thought we should have both (perhaps renamed or combined into 1 parameter with value, such as --exclude=missing vs --exclude=promisor) and let the user decide how strict they want to be.

Jeff
Previous: Jonathan TanNext: Junio C Hamano
Message 15 of 20 in “Partial clone part 1: object filtering”
  1. 0/6 Partial clone part 1: object filteringJeff Hostetler, Nov 2, 2017
  2. 1/6 dir: allow exclusions from blob in addition to fileJeff Hostetler, Nov 2, 2017
  3. 2/6 oidmap: add oidmap iterator methodsJeff Hostetler, Nov 2, 2017
  4. 4/6 list-objects: filter objects in traverse_commit_listJeff Hostetler, Nov 2, 2017
  5. Jonathan TanNov 2, 2017
  6. Johannes SchindelinNov 3, 2017
  7. Jeff HostetlerNov 3, 2017
  8. Jeff HostetlerNov 7, 2017
  9. Jeff HostetlerNov 6, 2017
  10. Jonathan TanNov 6, 2017
  11. 6/6 pack-objects: add list-objects filteringJeff Hostetler, Nov 2, 2017
  12. 5/6 rev-list: add list-objects filtering supportJeff Hostetler, Nov 2, 2017
  13. 3/6 oidset: add iterator methods to oidsetJeff Hostetler, Nov 2, 2017
  14. Jonathan TanNov 2, 2017
  15. Jeff HostetlerNov 3, 2017
  16. Junio C HamanoNov 3, 2017
  17. Jeff HostetlerNov 3, 2017
  18. Jonathan TanNov 8, 2017
  19. Junio C HamanoNov 8, 2017
  20. Jeff HostetlerNov 8, 2017

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.