git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Previous: Matheus TavaresNext: Martin Ågren
Message 2 of 6 in “sparse-checkout: add completion and --cone to docs”
  1. 0/2 sparse-checkout: add completion and --cone to docsMatheus Tavares, Jan 23, 2020
  2. 1/2 doc: sparse-checkout: mention --cone optionMatheus Tavares, Jan 23, 2020
  3. Martin ÅgrenJan 23, 2020
  4. Matheus Tavares BernardinoJan 24, 2020
  5. 2/2 completion: add support for sparse-checkoutMatheus Tavares, Jan 23, 2020
  6. Derrick StoleeJan 23, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.