Documentation: clarify/correct a few sparsity related statements
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>
This commit is contained in:
parent
ba2f3f58ac
commit
d30e2bbe85
@ -167,10 +167,10 @@ objects from the source repository into a pack in the cloned repository.
|
|||||||
configuration variables are created.
|
configuration variables are created.
|
||||||
|
|
||||||
--sparse::
|
--sparse::
|
||||||
Initialize the sparse-checkout file so the working
|
Employ a sparse-checkout, with only files in the toplevel
|
||||||
directory starts with only the files in the root
|
directory initially being present. The
|
||||||
of the repository. The sparse-checkout file can be
|
linkgit:git-sparse-checkout[1] command can be used to grow the
|
||||||
modified to grow the working directory as needed.
|
working directory as needed.
|
||||||
|
|
||||||
--filter=<filter-spec>::
|
--filter=<filter-spec>::
|
||||||
Use the partial clone feature and request that the server sends
|
Use the partial clone feature and request that the server sends
|
||||||
|
@ -121,7 +121,7 @@ SPARSE CHECKOUT
|
|||||||
It uses the skip-worktree bit (see linkgit:git-update-index[1]) to tell
|
It uses the skip-worktree bit (see linkgit:git-update-index[1]) to tell
|
||||||
Git whether a file in the working directory is worth looking at. If
|
Git whether a file in the working directory is worth looking at. If
|
||||||
the skip-worktree bit is set, then the file is ignored in the working
|
the skip-worktree bit is set, then the file is ignored in the working
|
||||||
directory. Git will not populate the contents of those files, which
|
directory. Git will avoid populating the contents of those files, which
|
||||||
makes a sparse checkout helpful when working in a repository with many
|
makes a sparse checkout helpful when working in a repository with many
|
||||||
files, but only a few are important to the current user.
|
files, but only a few are important to the current user.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user