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:

committed by
Junio C Hamano

parent
69c61c4fa9
commit
1d284cbae3
@ -500,7 +500,10 @@ _git_add ()
|
|||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
--*)
|
--*)
|
||||||
__gitcomp "--interactive --refresh"
|
__gitcomp "
|
||||||
|
--interactive --refresh --patch --update --dry-run
|
||||||
|
--ignore-errors
|
||||||
|
"
|
||||||
return
|
return
|
||||||
esac
|
esac
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
|
Reference in New Issue
Block a user