]> git.ipfire.org Git - thirdparty/git.git/commit
sparse-index: check index conversion happens
authorDerrick Stolee <dstolee@microsoft.com>
Tue, 30 Mar 2021 13:10:58 +0000 (13:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Mar 2021 19:57:47 +0000 (12:57 -0700)
commit0938e6ff552510d4e6e495f062a9fab3e932178a
tree9590806c84393d8f0a379d523623a33be35c8e67
parent13e133124728736db605e8ad6d2a844c380cb735
sparse-index: check index conversion happens

Add a test case that uses test_region to ensure that we are truly
expanding a sparse index to a full one, then converting back to sparse
when writing the index. As we integrate more Git commands with the
sparse index, we will convert these commands to check that we do _not_
convert the sparse index to a full index and instead stay sparse the
entire time.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1092-sparse-checkout-compatibility.sh