From: Elijah Newren via GitGitGadget Date: Fri, 10 Dec 2021 03:56:12 GMT Subject: [PATCH v3 09/10] Documentation: clarify/correct a few sparsity related statements Message-ID: <11a45920602981871582d11a79be9e95e33b8acc.1639108573.git.gitgitgadget@gmail.com> In-Reply-To: From: Elijah Newren Reviewed-by: Derrick Stolee Reviewed-by: Victoria Dye Signed-off-by: Elijah Newren --- Documentation/git-clone.txt | 8 ++++---- Documentation/git-sparse-checkout.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 3fe3810f1ce..b348a71fc68 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=:: Use the partial clone feature and request that the server sends diff --git a/Documentation/git-sparse-checkout.txt b/Documentation/git-sparse-checkout.txt index 72fcb6b2acc..9a4b43c105b 100644 --- a/Documentation/git-sparse-checkout.txt +++ b/Documentation/git-sparse-checkout.txt @@ -121,7 +121,7 @@ SPARSE CHECKOUT 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 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 files, but only a few are important to the current user. -- gitgitgadget