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>
maint
SZEDER Gábor 2008-06-14 11:48:01 +02:00 committed by Junio C Hamano
parent 69c61c4fa9
commit 1d284cbae3
1 changed files with 4 additions and 1 deletions

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=()