completion: bisect: complete missing --first-parent and - -no-checkout options

The --first-parent and --no-checkout options to the start subcommand of
git-bisect(1) are not completed.

Enable completion of the --first-parent and --no-checkout options to the
start subcommand.  Add test.

Signed-off-by: Britton Leo Kerin <britton.kerin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Britton Leo Kerin
2024-02-06 12:50:45 -09:00
committed by Junio C Hamano
parent af8910a2d4
commit 41928aeb45
2 changed files with 12 additions and 1 deletions

View File

@ -1478,7 +1478,7 @@ _git_bisect ()
start)
case "$cur" in
--*)
__gitcomp "--term-new --term-bad --term-old --term-good"
__gitcomp "--first-parent --no-checkout --term-new --term-bad --term-old --term-good"
return
;;
*)