Merge branch 'maint'
[gitweb.git] / contrib / completion / git-completion.bash
index 16984632d984006e2f2867a26714086bf3045ca3..2141b6b6ba4cfed2c2ea3beca1e1149d489b75fa 100755 (executable)
@@ -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=()