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

[PATCH 0/2] fetch-pack: allow parallelizing packfile URI fetches

From
Patrick Steinhardt <ps@pks.im>
Date
Aug 21, 2026, 12:31 UTC
Message-ID
<20260821-pks-parallelize-fetching-packfile-uris-v1-0-0df52d9427ce@pks.im>
Hi,

this patch series prepares git-fetch(1) and git-clone(1) to handle fetches of packfile URIs in parallel. This can significantly speed up fetches when the server announces a bunch of packfiles, as shown in the benchmarks in the second patch.

Thanks!
Patrick
---
Patrick Steinhardt (2):
      fetch-pack: prepare for threaded fetching of packfile URIs
      fetch-pack: allow parallelizing packfile URI fetches
 Documentation/config/fetch.adoc |   9 ++
 fetch-pack.c                    | 228 ++++++++++++++++++++++++++++++----------
 t/t5702-protocol-v2.sh          |  44 ++++++++
 3 files changed, 227 insertions(+), 54 deletions(-)

--- base-commit: 1a3e64c6c4a623626ff0687008732a8e007e2a1c change-id: 20260821-pks-parallelize-fetching-packfile-uris-b1ad24a82fe0

Next: Patrick Steinhardt
Message 1 of 5 in “fetch-pack: allow parallelizing packfile URI fetches”
  1. 0/2 fetch-pack: allow parallelizing packfile URI fetchesPatrick Steinhardt, Aug 21, 2026
  2. 1/2 fetch-pack: prepare for threaded fetching of packfile URIsPatrick Steinhardt, Aug 21, 2026
  3. 2/2 fetch-pack: allow parallelizing packfile URI fetchesPatrick Steinhardt, Aug 21, 2026
  4. Justin ToblerAug 31, 2026
  5. Patrick SteinhardtAug 31, 2026

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.