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

[PATCH v2 1/2] doc: use singular form of repeatable path arg

From
Britton Leo Kerin <britton.kerin@gmail.com>
Date
Jan 3, 2024, 04:02 UTC
Message-ID
<95ced208-fa2d-4e0f-9887-7c861db598b3@smtp-relay.sendinblue.com>
In-Reply-To
<20240103040207.661413-1-britton.kerin@gmail.com>

This is more correct because the <path>... doc syntax already indicates that the arg is "array-type". It's how other tools do it. Finally, the later document text mentions 'path' arguments, while it doesn't mention 'paths'.

Signed-off-by: Britton Leo Kerin <britton.kergin@gmail.com>
---
 Documentation/git-bisect.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt
index aa02e46224..b798282788 100644
--- a/Documentation/git-bisect.txt
+++ b/Documentation/git-bisect.txt
@@ -17,7 +17,7 @@ The command takes various subcommands, and different options depending
 on the subcommand:
 
  git bisect start [--term-(new|bad)=<term-new> --term-(old|good)=<term-old>]
-		  [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]
+		  [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<path>...]
  git bisect (bad|new|<term-new>) [<rev>]
  git bisect (good|old|<term-old>) [<rev>...]
  git bisect terms [--term-good | --term-bad]
-- 
2.43.0
Previous: Britton Leo Kerin
Message 6 of 6 in “doc: git-bisect: change plural form to singular”
  1. 0/1 doc: git-bisect: change plural form to singularBritton Leo Kerin, Dec 27, 2023
  2. 0/2 doc: bisect: change plural paths to singular pathspecBritton Leo Kerin, Jan 3, 2024
  3. Taylor BlauJan 3, 2024
  4. Junio C HamanoJan 10, 2024
  5. 2/2 doc: refer to pathspec instead of pathBritton Leo Kerin, Jan 3, 2024
  6. 1/2 doc: use singular form of repeatable path argBritton Leo Kerin, Jan 3, 2024

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.