diff options
author | Elijah Newren <newren@gmail.com> | 2021-12-14 04:09:05 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-15 11:48:21 -0800 |
commit | 45c5e47048a89e08a9e844bcf976401af8b60478 (patch) | |
tree | 8ff38c1c5ddd9b343ec3a99e0656f9b1edaa3cc9 /Documentation/RelNotes/1.6.1.2.txt | |
parent | sparse-checkout: break apart functions for sparse_checkout_(set|add) (diff) | |
download | tgif-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/1.6.1.2.txt')
0 files changed, 0 insertions, 0 deletions