summaryrefslogtreecommitdiff
path: root/gitweb/static/js/lib/cookies.js
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2021-12-14 04:09:05 +0000
committerJunio C Hamano <gitster@pobox.com>2021-12-15 11:48:21 -0800
commit45c5e47048a89e08a9e844bcf976401af8b60478 (patch)
tree8ff38c1c5ddd9b343ec3a99e0656f9b1edaa3cc9 /gitweb/static/js/lib/cookies.js
parent0b624e039cc2c9e30333445e8c67002f41d63678 (diff)
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 'gitweb/static/js/lib/cookies.js')
0 files changed, 0 insertions, 0 deletions