]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ds/midx-with-less-memory'
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Aug 2022 20:36:06 +0000 (13:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Aug 2022 20:36:06 +0000 (13:36 -0700)
The codepath to write multi-pack index has been taught to release a
large chunk of memory that holds an array of objects in the packs,
as soon as it is done with the array, to reduce memory consumption.

* ds/midx-with-less-memory:
  write_midx_bitmap(): drop unused refs_snapshot parameter
  midx: reduce memory pressure while writing bitmaps
  midx: extract bitmap write setup
  pack-bitmap-write: use const for hashes


Trivial merge