]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'sj/use-mmap-to-check-packed-refs'
authorJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2025 20:59:10 +0000 (13:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2025 20:59:10 +0000 (13:59 -0700)
The code path to access the "packed-refs" file while "fsck" is
taught to mmap the file, instead of reading the whole file in the
memory.

* sj/use-mmap-to-check-packed-refs:
  packed-backend: mmap large "packed-refs" file during fsck
  packed-backend: extract snapshot allocation in `load_contents`
  packed-backend: fsck should warn when "packed-refs" file is empty


Trivial merge