]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/midx-negative-packfile-cache'
authorJunio C Hamano <gitster@pobox.com>
Fri, 30 May 2025 18:59:18 +0000 (11:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 May 2025 18:59:18 +0000 (11:59 -0700)
When a stale .midx file refers to .pack files that no longer exist,
we ended up checking for these non-existent files repeatedly, which
has been optimized by memoizing the non-existence.

* ps/midx-negative-packfile-cache:
  midx: stop repeatedly looking up nonexistent packfiles
  packfile: explain ordering of how we look up auxiliary pack files

1  2 
packfile.c

diff --cc packfile.c
Simple merge