diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-01-03 16:24:15 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-03 16:24:15 -0800 |
commit | 2dc94da3744bfbbf145eca587a0f5ff480cc5867 (patch) | |
tree | ef2edac93b71f30bd0d278cc87d1b7486b886222 /Documentation/git-clone.txt | |
parent | 4f4b18497aea75425506097de7225df8c7cf5c66 (diff) | |
parent | dfac9b609f86cd4f6ce896df9e1172d2a02cde48 (diff) | |
download | git-2dc94da3744bfbbf145eca587a0f5ff480cc5867.tar.gz |
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
Diffstat (limited to 'Documentation/git-clone.txt')
-rw-r--r-- | Documentation/git-clone.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 9685ea0691..984d194934 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -167,10 +167,10 @@ objects from the source repository into a pack in the cloned repository. configuration variables are created. --sparse:: - Initialize the sparse-checkout file so the working - directory starts with only the files in the root - of the repository. The sparse-checkout file can be - modified to grow the working directory as needed. + Employ a sparse-checkout, with only files in the toplevel + directory initially being present. The + linkgit:git-sparse-checkout[1] command can be used to grow the + working directory as needed. --filter=<filter-spec>:: Use the partial clone feature and request that the server sends |