]> git.ipfire.org Git - thirdparty/git.git/commit
sparse-checkout: --no-sparse-index needs a full index
authorDerrick Stolee <dstolee@microsoft.com>
Mon, 23 May 2022 13:48:42 +0000 (13:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 May 2022 18:08:21 +0000 (11:08 -0700)
commit2d443389fddf1b9b50664669b55c701a53f12eb2
tree00d4638fe50fcf117997175b0587cfeac804b6b8
parent080ab56a46ad65068201a768a04464341117fe81
sparse-checkout: --no-sparse-index needs a full index

When the --no-sparse-index option is supplied, the sparse-checkout
builtin should explicitly ask to expand a sparse index to a full one.
This is currently done implicitly due to the command_requires_full_index
protection, but that will be removed in an upcoming change.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/sparse-checkout.c