summaryrefslogtreecommitdiff
path: root/t/t7406-submodule-update.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-06-29 02:13:05 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-14 15:05:53 -0700
commitf934f1b47fb56d18b2b81d9288590e03e9a0ed23 (patch)
tree68edab13b65236d75b315b29165521b6363e3c17 /t/t7406-submodule-update.sh
parentcommit: integrate with sparse-index (diff)
downloadtgif-f934f1b47fb56d18b2b81d9288590e03e9a0ed23.tar.xz
sparse-index: recompute cache-tree
When some commands run with command_requires_full_index=1, then the index can get in a state where the in-memory cache tree is actually equal to the sparse index's cache tree instead of the full one. This results in incorrect entry_count values. By clearing the cache tree before converting to sparse, we avoid this issue. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7406-submodule-update.sh')
0 files changed, 0 insertions, 0 deletions