Code

Merge branch 'jc/maint-combine-diff-pre-context' into maint
[git.git] / contrib / completion / git-completion.bash
index 16984632d984006e2f2867a26714086bf3045ca3..0eb8df020be3c6dd0e701428a6335316aa608b6a 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=()
@@ -758,6 +761,7 @@ _git_log ()
                        --pretty= --name-status --name-only --raw
                        --not --all
                        --left-right --cherry-pick
+                       --graph
                        "
                return
                ;;