Merge branch 'vd/sparse-sparsity-fix-on-read'
commit5396d7b298e9db83e98fb6a552a42a6a59984305
authorJunio C Hamano <gitster@pobox.com>
Fri, 10 Dec 2021 22:35:01 +0000 (10 14:35 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Dec 2021 22:35:01 +0000 (10 14:35 -0800)
tree268a3d472bd5be4ec42da86a026a19a45e856b4f
parent83113c4268419cef690201916ac0ebbd7c721d93
parent7ca4fc8819e60bbeb21a8684af182d321b338c47
Merge branch 'vd/sparse-sparsity-fix-on-read'

Ensure that the sparseness of the in-core index matches the
index.sparse configuration specified by the repository immediately
after the on-disk index file is read.

* vd/sparse-sparsity-fix-on-read:
  sparse-index: update do_read_index to ensure correct sparsity
  sparse-index: add ensure_correct_sparsity function
  sparse-index: avoid unnecessary cache tree clearing
  test-read-cache.c: prepare_repo_settings after config init
read-cache.c
t/t1092-sparse-checkout-compatibility.sh