Thread (6 messages) 6 messages, 3 authors, 2023-10-23

Re: [PATCH] doc/git-bisect: clarify `git bisect run` syntax

From: Eric Sunshine <hidden>
Date: 2023-10-22 21:32:58

On Sun, Oct 22, 2023 at 4:03 PM cousteau via GitGitGadget
[off-list ref] wrote:
The description of the `git bisect run` command syntax at the beginning
of the manpage is `git bisect run <cmd>...`, which isn't quite clear
about what `<cmd>` is or what the `...` mean; one could think that it is
the whole (quoted) command line with all arguments in a single string,
or that it supports multiple commands, or that it doesn't accept
commands with arguments at all.

Change to `git bisect run <cmd> [<arg>...]` to clarify the syntax.
Okay, makes sense.
quoted hunk ↗ jump to hunk
Signed-off-by: Javier Mora <redacted>
---
diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt
@@ -26,7 +26,7 @@ on the subcommand:
- git bisect run <cmd>...
+ git bisect run <cmd> [<arg>...]
The output of `git bisect -h` suffers the same problem. Perhaps this
patch can fix that, as well?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help