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>
SZEDER Gábor committed
Jun 14, 2008 at 11:48 UTC
1d284cbae3abd5fb6f58dd5282ba0e93eb68e6c6
1 file changed
+4
-1
contrib/completion/git-completion.bash
+4
-1
@@ -500,7 +500,10 @@ _git_add ()
500
local cur="${COMP_WORDS[COMP_CWORD]}"
501
case "$cur" in
502
--*)
503
- __gitcomp "--interactive --refresh"
503
+ __gitcomp "
504
+ --interactive --refresh --patch --update --dry-run
505
+ --ignore-errors
506
+ "
507
return
508
esac
509
COMPREPLY=()