]> git.ipfire.org Git - thirdparty/git.git/blobdiff - contrib/completion/git-completion.bash
bash: add support for 'git stash pop --index' option
[thirdparty/git.git] / contrib / completion / git-completion.bash
index 80190a6b165f22c28be8c94db735abdaafccc85a..cc94ef44b2910e96b60bdf2b184c4adcf89dc2d5 100755 (executable)
@@ -1881,10 +1881,10 @@ _git_stash ()
                save,--*)
                        __gitcomp "--keep-index"
                        ;;
-               apply,--*)
+               apply,--*|pop,--*)
                        __gitcomp "--index"
                        ;;
-               show,--*|drop,--*|pop,--*|branch,--*)
+               show,--*|drop,--*|branch,--*)
                        COMPREPLY=()
                        ;;
                show,*|apply,*|drop,*|pop,*|branch,*)