Merge branch 'en/sparse-checkout-set'
commit2dc94da3744bfbbf145eca587a0f5ff480cc5867
authorJunio C Hamano <gitster@pobox.com>
Tue, 4 Jan 2022 00:24:15 +0000 (3 16:24 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Jan 2022 00:24:15 +0000 (3 16:24 -0800)
treeef2edac93b71f30bd0d278cc87d1b7486b886222
parent4f4b18497aea75425506097de7225df8c7cf5c66
parentdfac9b609f86cd4f6ce896df9e1172d2a02cde48
Merge branch 'en/sparse-checkout-set'

The "init" and "set" subcommands in "git sparse-checkout" have been
unified for a better user experience and performance.

* en/sparse-checkout-set:
  sparse-checkout: remove stray trailing space
  clone: avoid using deprecated `sparse-checkout init`
  Documentation: clarify/correct a few sparsity related statements
  git-sparse-checkout.txt: update to document init/set/reapply changes
  sparse-checkout: enable reapply to take --[no-]{cone,sparse-index}
  sparse-checkout: enable `set` to initialize sparse-checkout mode
  sparse-checkout: split out code for tweaking settings config
  sparse-checkout: disallow --no-stdin as an argument to set
  sparse-checkout: add sanity-checks on initial sparsity state
  sparse-checkout: break apart functions for sparse_checkout_(set|add)
  sparse-checkout: pass use_stdin as a parameter instead of as a global
Documentation/git-clone.txt
Documentation/git-sparse-checkout.txt
t/t1091-sparse-checkout-builtin.sh