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>
Matheus Tavares committed
Jan 23, 2020 at 16:00 UTC
a402723e488c66bd12cf674c332f185fee1d2347
1 file changed
+4
Documentation/git-sparse-checkout.txt
+4
@@ -41,6 +41,10 @@ COMMANDS
41
To avoid interfering with other worktrees, it first enables the
42
`extensions.worktreeConfig` setting and makes sure to set the
43
`core.sparseCheckout` setting in the worktree-specific config file.
44
++
45
+When `--cone` is provided, the `core.sparseCheckoutCone` setting is
46
+also set, allowing for better performance with a limited set of
47
+patterns (see 'CONE PATTERN SET' below).
48
49
'set'::
50
Write a set of patterns to the sparse-checkout file, as given as