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

[PATCH v5 4/4] Documentation/git-sparse-checkout.txt: some reword and modifications

From
Shaoxuan Yuan <shaoxuan.yuan02@gmail.com>
Date
Mar 19, 2022, 06:19 UTC
Message-ID
<20220319061910.786850-5-shaoxuan.yuan02@gmail.com>
In-Reply-To
<20220319061910.786850-1-shaoxuan.yuan02@gmail.com>
Modifications suggested by Junio [1]
* remove redundant part under 'add' command
* fix broken indentation
* remove redundant part under '--[no-]cone' option
[1] https://lore.kernel.org/git/xmqqfsnfb42c.fsf@gitster.g/
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Shaoxuan Yuan <shaoxuan.yuan02@gmail.com>
---
 Documentation/git-sparse-checkout.txt | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/Documentation/git-sparse-checkout.txt b/Documentation/git-sparse-checkout.txt
index 0178d63f56..482ecfe28c 100644
--- a/Documentation/git-sparse-checkout.txt
+++ b/Documentation/git-sparse-checkout.txt
@@ -66,11 +66,9 @@ file. See linkgit:git-worktree[1] and the documentation of
 
 'add'::
 	Update the sparse-checkout file to include additional directories
-	(in cone mode) or patterns (in non-cone mode).  By default, these
-	directories or patterns are read from the command-line arguments.
-  These directories or patterns are interpreted the same way as stated
-  above in `set` command, and they can be read from stdin using the
-  `--stdin` option.
+	(in cone mode) or patterns (in non-cone mode). By default, these
+	directories or patterns are read from the command-line arguments,
+	but they can be read from stdin using the `--stdin` option.
 
 'reapply'::
 	Reapply the sparsity pattern rules to paths in the working tree.
@@ -112,10 +110,6 @@ OPTIONS
 '--[no-]cone'::
 	Use with the `set` and `reapply` commands.
 	Specify using cone mode or not. The default is to use cone mode.
-+
-For the `set` command, the option to use cone mode or not changes
-the interpretation of the remaining arguments to either be a list
-of directories or a list of patterns.
 
 '--[no-]sparse-index'::
 	Use with the `set` and `reapply` commands.
-- 
2.35.1
Previous: Shaoxuan YuanNext: Shaoxuan Yuan
Message 16 of 18 in “Documentation/git-sparse-checkout.txt: add an OPTIONS section”
  1. 0/1 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 11, 2022
  2. 1/1 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 11, 2022
  3. Derrick StoleeMar 11, 2022
  4. 0/1 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 14, 2022
  5. 1/1 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 14, 2022
  6. 0/1 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 14, 2022
  7. 1/1 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 14, 2022
  8. Derrick StoleeMar 14, 2022
  9. 0/1 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 17, 2022
  10. 1/1 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 17, 2022
  11. Junio C HamanoMar 18, 2022
  12. Junio C HamanoMar 18, 2022
  13. 0/4 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 19, 2022
  14. 1/4 Documentation/git-sparse-checkout.txt: add an OPTIONS sectionShaoxuan Yuan, Mar 19, 2022
  15. 3/4 Documentation/git-sparse-checkout.txt: some reword and modificationsShaoxuan Yuan, Mar 19, 2022
  16. 4/4 Documentation/git-sparse-checkout.txt: some reword and modificationsShaoxuan Yuan, Mar 19, 2022
  17. 2/4 Documentation/git-sparse-checkout.txt: move OPTIONS after COMMANDSShaoxuan Yuan, Mar 19, 2022
  18. Derrick StoleeMar 22, 2022

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.