bash: offer refs for 'git bisect start'
authorSZEDER Gábor <szeder@ira.uka.de>
Sun, 10 Oct 2010 21:39:33 +0000 (23:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Oct 2010 22:08:59 +0000 (15:08 -0700)
The completion script only offered path completion after 'git bisect
start', although bad and good refs could also be specified before the
doubledash.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index f83f019ca91a2611f5bd3474ccf6d10081320c4c..5e023d415b36b9be380e95e986aa87610f61f9bf 100755 (executable)
@@ -912,7 +912,7 @@ _git_bisect ()
        fi
 
        case "$subcommand" in
-       bad|good|reset|skip)
+       bad|good|reset|skip|start)
                __gitcomp "$(__git_refs)"
                ;;
        *)