]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jt/pack-objects-prefetch-in-batch'
authorJunio C Hamano <gitster@pobox.com>
Tue, 4 Aug 2020 20:53:57 +0000 (13:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Aug 2020 20:53:57 +0000 (13:53 -0700)
commit5c454b3825777493eada736423db75e8b128dd83
tree6585964978437d99448ab9d4ac0bc33c88c81156
parenta1315123e22b6996d68c090fa74dbba483bb1d52
parente00549aa9b19cc85c8bf3c3efd0a466aaf5e08f3
Merge branch 'jt/pack-objects-prefetch-in-batch'

While packing many objects in a repository with a promissor remote,
lazily fetching missing objects from the promissor remote one by
one may be inefficient---the code now attempts to fetch all the
missing objects in batch (obviously this won't work for a lazy
clone that lazily fetches tree objects as you cannot even enumerate
what blobs are missing until you learn which trees are missing).

* jt/pack-objects-prefetch-in-batch:
  pack-objects: prefetch objects to be packed
  pack-objects: refactor to oid_object_info_extended