]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'vd/sparse-sparsity-fix-on-read'
authorJunio C Hamano <gitster@pobox.com>
Fri, 10 Dec 2021 22:35:01 +0000 (14:35 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Dec 2021 22:35:01 +0000 (14:35 -0800)
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

1  2 
read-cache.c
t/t1092-sparse-checkout-compatibility.sh

diff --cc read-cache.c
Simple merge