]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4013/diff.log_-m_-p_master
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)
commita31677dde39747700c0b626a9642315cd542cc73
treebf0ee89019460610592dc23a1725dc61b6d8ec09
parentbbdba3d88320cd99ae3425f31e4c20213a877cac
parent59552fb3e2161648952a8a1240ffef57eff9a262
Merge branch 'tb/repack-clearing-midx'

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
builtin/repack.c
midx.c
t/t5319-multi-pack-index.sh