[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 fetchesDocumentation/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