mbox series

[0/2] fetch: speed up mirror-fetches with many refs

Message ID cover.1643364888.git.ps@pks.im (mailing list archive)
Headers show
Series fetch: speed up mirror-fetches with many refs | expand

Message

Patrick Steinhardt Jan. 28, 2022, 10:15 a.m. UTC
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(-)