[PATCH 0/2] fetch: speed up mirror-fetches with many refs
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Jan 28, 2022, 10:15 UTC
- Message-ID
- <cover.1643364888.git.ps@pks.im>
Hi,
this patch series aims to speed up mirror-fetches in repositories with huge amounts of refs. It contains two patches which together speed up git-fetch(1) in a repository with about 2,1 million references by roughly 30%.
Patrick
Patrick Steinhardt (2): fetch-pack: use commit-graph when computing cutoff fetch: skip computing output width when not printing anything
builtin/fetch.c | 8 ++++++-- fetch-pack.c | 28 ++++++++++++++++------------ 2 files changed, 22 insertions(+), 14 deletions(-)
-- 2.35.0