Skip to content

Commit d30e2bb

Browse files
newrengitster
authored andcommitted
Documentation: clarify/correct a few sparsity related statements
Reviewed-by: Derrick Stolee <[email protected]> Reviewed-by: Victoria Dye <[email protected]> Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ba2f3f5 commit d30e2bb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Documentation/git-clone.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ objects from the source repository into a pack in the cloned repository.
167167
configuration variables are created.
168168

169169
--sparse::
170-
Initialize the sparse-checkout file so the working
171-
directory starts with only the files in the root
172-
of the repository. The sparse-checkout file can be
173-
modified to grow the working directory as needed.
170+
Employ a sparse-checkout, with only files in the toplevel
171+
directory initially being present. The
172+
linkgit:git-sparse-checkout[1] command can be used to grow the
173+
working directory as needed.
174174

175175
--filter=<filter-spec>::
176176
Use the partial clone feature and request that the server sends

Documentation/git-sparse-checkout.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ SPARSE CHECKOUT
121121
It uses the skip-worktree bit (see linkgit:git-update-index[1]) to tell
122122
Git whether a file in the working directory is worth looking at. If
123123
the skip-worktree bit is set, then the file is ignored in the working
124-
directory. Git will not populate the contents of those files, which
124+
directory. Git will avoid populating the contents of those files, which
125125
makes a sparse checkout helpful when working in a repository with many
126126
files, but only a few are important to the current user.
127127

0 commit comments

Comments
 (0)