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

[PATCH 0/2] Another partial clone prefetch

From
JTJonathan Tan <jonathantanmy@google.com>
Date
Jul 23, 2021, 18:52 UTC
Message-ID
<cover.1627066238.git.jonathantanmy@google.com>

Here's another instance in which we need to prefetch in order to avoid fetching objects one by one. More information is in patch 2's commit message.

Jonathan Tan (2):
  unpack-trees: refactor prefetching code
  cache-tree: prefetch in partial clone read-tree
 cache-tree.c                       | 11 ++++++++--
 cache.h                            |  9 ++++++++
 read-cache.c                       | 23 +++++++++++++++++++++
 t/t1022-read-tree-partial-clone.sh | 33 ++++++++++++++++++++++++++++++
 unpack-trees.c                     | 27 ++++++++----------------
 5 files changed, 82 insertions(+), 21 deletions(-)
 create mode 100755 t/t1022-read-tree-partial-clone.sh
-- 
2.32.0.432.gabb21c7263-goog
Next: Jonathan Tan
Message 1 of 8 in “Another partial clone prefetch”
  1. 0/2 Another partial clone prefetchJonathan Tan, Jul 23, 2021
  2. 1/2 unpack-trees: refactor prefetching codeJonathan Tan, Jul 23, 2021
  3. Elijah NewrenJul 23, 2021
  4. 2/2 cache-tree: prefetch in partial clone read-treeJonathan Tan, Jul 23, 2021
  5. Jonathan TanJul 23, 2021
  6. Junio C HamanoJul 23, 2021
  7. Elijah NewrenJul 23, 2021
  8. Derrick StoleeJul 26, 2021

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.