]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commitd8b48af39141d4552e6e2c091957a59b806808a1
treec923958e28b63c2291865f64576523ad3545734f
parent3950f8f1b431860c35e938db7fc0360cadba3bf0
parent86ddd588f24acf3960489dccb8aed82dc570796b
Merge branch 'sj/use-mmap-to-check-packed-refs'

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