bash: offer only paths after '--' for 'git checkout'

Commit d773c631 (bash: offer only paths after '--', 2008-07-08) did the
same for several other git commands, but 'git checkout' went unnoticed.

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 2008-07-23 13:49:22 +02:00 committed by Junio C Hamano
parent b302ddd2f8
commit c84bb14ce5

View file

@ -626,6 +626,8 @@ _git_bundle ()
_git_checkout ()
{
__git_has_doubledash && return
__gitcomp "$(__git_refs)"
}