]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/fetch-optim'
authorJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 22:20:39 +0000 (15:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 22:20:39 +0000 (15:20 -0700)
Optimize code that handles large number of refs in the "git fetch"
code path.

* ps/fetch-optim:
  fetch: avoid second connectivity check if we already have all objects
  fetch: merge fetching and consuming refs
  fetch: refactor fetch refs to be more extendable
  fetch-pack: optimize loading of refs via commit graph
  connected: refactor iterator to return next object ID directly
  fetch: avoid unpacking headers in object existence check
  fetch: speed up lookup of want refs via commit-graph

1  2 
builtin/clone.c
builtin/fetch.c
connected.c

diff --cc builtin/clone.c
Simple merge
diff --cc builtin/fetch.c
Simple merge
diff --cc connected.c
Simple merge