From: Patrick Steinhardt Date: Fri, 28 Jan 2022 10:15:34 GMT Subject: [PATCH 0/2] fetch: speed up mirror-fetches with many refs Message-ID: 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