diff options
author | Matheus Tavares <matheus.bernardino@usp.br> | 2020-01-23 16:00:02 -0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-23 13:20:14 -0800 |
commit | a402723e488c66bd12cf674c332f185fee1d2347 (patch) | |
tree | 113b18e2ebc4094e5a88477ac3d80888117c454c | |
parent | Git 2.25 (diff) | |
download | tgif-a402723e488c66bd12cf674c332f185fee1d2347.tar.xz |
doc: sparse-checkout: mention --cone option
In af09ce2 ("sparse-checkout: init and set in cone mode", 2019-11-21),
the '--cone' option was added to 'git sparse-checkout init'.
Document it.
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | Documentation/git-sparse-checkout.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-sparse-checkout.txt b/Documentation/git-sparse-checkout.txt index 974ade2238..e6f235a0c4 100644 --- a/Documentation/git-sparse-checkout.txt +++ b/Documentation/git-sparse-checkout.txt @@ -41,6 +41,10 @@ COMMANDS To avoid interfering with other worktrees, it first enables the `extensions.worktreeConfig` setting and makes sure to set the `core.sparseCheckout` setting in the worktree-specific config file. ++ +When `--cone` is provided, the `core.sparseCheckoutCone` setting is +also set, allowing for better performance with a limited set of +patterns (see 'CONE PATTERN SET' below). 'set':: Write a set of patterns to the sparse-checkout file, as given as |