From: Matheus Tavares Date: Thu, 23 Jan 2020 19:00:02 +0000 (-0300) Subject: doc: sparse-checkout: mention --cone option X-Git-Tag: v2.26.0-rc0~89^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a402723e488c66bd12cf674c332f185fee1d2347;p=thirdparty%2Fgit.git 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 Acked-by: Derrick Stolee Signed-off-by: Junio C Hamano --- 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