bash: teach 'git reset --patch'
[gitweb.git] / contrib / completion / git-completion.bash
index 7ebc61bf113a14cad2f04d34a768bef96a906741..6fd7e1d329262162a1d9e0b45d79870a03524f99 100755 (executable)
@@ -1780,7 +1780,7 @@ _git_reset ()
        local cur="${COMP_WORDS[COMP_CWORD]}"
        case "$cur" in
        --*)
-               __gitcomp "--merge --mixed --hard --soft"
+               __gitcomp "--merge --mixed --hard --soft --patch"
                return
                ;;
        esac