diff options
author | Glen Choo <chooglen@google.com> | 2021-10-15 13:16:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-15 14:30:08 -0700 |
commit | dc5570872f684f7c838fe7571225d279243b8700 (patch) | |
tree | a80685466218c7f07d2d4f9f0607cbb6b0ee099e /commit.h | |
parent | f30e4d854bb8462d1a4da697ad95501d33fe4425 (diff) |
fsck: verify multi-pack-index when implictly enabled
Like the previous commit, change fsck to check the
"core_multi_pack_index" variable set in "repo-settings.c" instead of
reading the "core.multiPackIndex" config variable. This fixes a bug
where we wouldn't verify midx if the config key was missing. This bug
was introduced in 18e449f86b (midx: enable core.multiPackIndex by
default, 2020-09-25) where core.multiPackIndex was turned on by default.
Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions