]> git.ipfire.org Git - thirdparty/git.git/commit
split-index: it really is incompatible with the sparse index
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 19 Jan 2022 17:29:39 +0000 (17:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Jan 2022 01:06:23 +0000 (17:06 -0800)
commit451b66c533b9ede47951d16c0127ab33372125ca
tree94090ac7a8afa3437f88283a978127ca592746e6
parentac873c2bff92dece98ebe1b04eca8330f51ddd63
split-index: it really is incompatible with the sparse index

... at least for now. So let's error out if we are even trying to
initialize the split index when the index is sparse, or when trying to
write the split index extension for a sparse index.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
read-cache.c
split-index.c