bash: offer refs for 'git bisect start'

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>
This commit is contained in:
SZEDER Gábor 2010-10-10 23:39:33 +02:00 коммит произвёл Junio C Hamano
Родитель c752e7f3e8
Коммит 8205ff8e99
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -912,7 +912,7 @@ _git_bisect ()
fi fi
case "$subcommand" in case "$subcommand" in
bad|good|reset|skip) bad|good|reset|skip|start)
__gitcomp "$(__git_refs)" __gitcomp "$(__git_refs)"
;; ;;
*) *)