]> git.99rst.org Git - git.git/commit
completion: bisect: complete custom terms and related options
authorBritton Leo Kerin <redacted>
Tue, 6 Feb 2024 21:50:44 +0000 (12:50 -0900)
committerJunio C Hamano <redacted>
Tue, 6 Feb 2024 23:11:46 +0000 (15:11 -0800)
commitaf8910a2d4cdc3452c4b48e073e18fc10ff76723
tree15a00fe83f5e40e6fc50ebfc4463d3a84cdde2c7
parente1f74dd58b77fe9bc5ed196221642395cf8951d0
completion: bisect: complete custom terms and related options

git bisect supports the use of custom terms via the --term-(new|bad) and
--term-(old|good) options, but the completion code doesn't know about
these options or the new subcommands they define.

Add support for these options and the custom subcommands by checking for
BISECT_TERMS and adding them to the list of subcommands.  Add tests.

Signed-off-by: Britton Leo Kerin <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
t/t9902-completion.sh
git clone https://git.99rst.org/PROJECT