[PATCH 1/2] doc: sparse-checkout: mention --cone option
- From
Matheus Tavares <matheus.bernardino@usp.br>
- Date
- Jan 23, 2020, 19:00 UTC
- Message-ID
- <6ec39af930871496dd7694ea27eeca69d5d60c96.1579805218.git.matheus.bernardino@usp.br>
- In-Reply-To
- <cover.1579805218.git.matheus.bernardino@usp.br>
In af09ce2 ("sparse-checkout: init and set in cone mode", 2019-11-21), the '--cone' option was added to 'git sparse-checkout init'. Add this option to the respective doc file.
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br> --- Documentation/git-sparse-checkout.txt | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/Documentation/git-sparse-checkout.txt b/Documentation/git-sparse-checkout.txt index 974ade2238..542af98520 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' bellow). 'set':: Write a set of patterns to the sparse-checkout file, as given as
-- 2.25.0