completion: add more 'git add' options

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-06-14 11:48:01 +02:00 committed by Junio C Hamano
parent 69c61c4fa9
commit 1d284cbae3

View File

@ -500,7 +500,10 @@ _git_add ()
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
--*)
__gitcomp "--interactive --refresh"
__gitcomp "
--interactive --refresh --patch --update --dry-run
--ignore-errors
"
return
esac
COMPREPLY=()