]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'tb/repack-clearing-midx'
authorJunio C Hamano <gitster@pobox.com>
Wed, 9 Sep 2020 20:53:06 +0000 (13:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Sep 2020 20:53:06 +0000 (13:53 -0700)
When a packfile is removed by "git repack", multi-pack-index gets
cleared; the code was taught to do so less aggressively by first
checking if the midx actually refers to a pack that no longer
exists.

* tb/repack-clearing-midx:
  midx: traverse the local MIDX first
  builtin/repack.c: invalidate MIDX only when necessary

1  2 
builtin/repack.c
midx.c
t/t5319-multi-pack-index.sh

Simple merge
diff --cc midx.c
Simple merge
Simple merge