]> git.ipfire.org Git - thirdparty/git.git/commit
bisect: update usage and docs to match each other
authorRuoyu Zhong <zhongruoyu@outlook.com>
Tue, 28 Oct 2025 22:27:41 +0000 (22:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Oct 2025 22:41:42 +0000 (15:41 -0700)
commitbb42dc971074ebe83697943b364350e19e4c0911
treeb79b01efb7faea181b5d17e6cf162f3a37a2a050
parent57da342c786f59eaeb436c18635cc1c7597733d9
bisect: update usage and docs to match each other

Update the usage string of `git bisect` and documentation to match each
other. While at it, also:

1. Move the synopsis of `git bisect` subcommands to the synopsis
   section, so that the test `t0450-txt-doc-vs-help.sh` can pass.

2. Document the `git bisect next` subcommand, which exists in the code
   but is missing from the documentation.

See also: [1].

[1]: https://lore.kernel.org/git/3DA38465-7636-4EEF-B074-53E4628F5355@gmail.com/

Suggested-by: Ben Knoble <ben.knoble@gmail.com>
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-bisect.adoc
builtin/bisect.c
t/t0450/adoc-help-mismatches