summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2021-12-14 04:09:05 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-15 11:48:21 -0800
commit45c5e47048a89e08a9e844bcf976401af8b60478 (patch)
tree8ff38c1c5ddd9b343ec3a99e0656f9b1edaa3cc9 /Documentation/RelNotes
parentsparse-checkout: break apart functions for sparse_checkout_(set|add) (diff)
downloadtgif-45c5e47048a89e08a9e844bcf976401af8b60478.tar.xz
sparse-checkout: add sanity-checks on initial sparsity state
Most sparse-checkout subcommands (list, add, reapply) only make sense when already in a sparse state. Add a quick check that will error out early if this is not the case. Also document with a comment why we do not exit early in `disable` even when core.sparseCheckout starts as false. Reviewed-by: Derrick Stolee <dstolee@microsoft.com> Reviewed-by: Victoria Dye <vdye@github.com> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes')
0 files changed, 0 insertions, 0 deletions