aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/completion
diff options
context:
space:
mode:
authorBritton Leo Kerin <britton.kerin@gmail.com>2024-02-06 12:50:45 -0900
committerJunio C Hamano <gitster@pobox.com>2024-02-06 15:11:46 -0800
commit41928aeb45e70d4361c780cc69d3975faee5eec4 (patch)
treeb6d53152c2e95d8836b8bfa91294b8ebb2ce6ff3 /contrib/completion
parentaf8910a2d4cdc3452c4b48e073e18fc10ff76723 (diff)
downloadgit-41928aeb45e70d4361c780cc69d3975faee5eec4.tar.gz
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>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 6a3d9c7760..57c6e09968 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -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
;;
*)