]> git.ipfire.org Git - thirdparty/git.git/blobdiff - contrib/completion/git-completion.bash
completion: add --thread=deep/shallow to format-patch
[thirdparty/git.git] / contrib / completion / git-completion.bash
index b96458f2967ac256d6a11cc3accdb84ba464e91d..1c6b0e28eff43caea4d7078d18d196c6d36fbbd4 100755 (executable)
@@ -930,9 +930,15 @@ _git_format_patch ()
 {
        local cur="${COMP_WORDS[COMP_CWORD]}"
        case "$cur" in
+       --thread=*)
+               __gitcomp "
+                       deep shallow
+                       " "" "${cur##--thread=}"
+               return
+               ;;
        --*)
                __gitcomp "
-                       --stdout --attach --no-attach --thread
+                       --stdout --attach --no-attach --thread --thread=
                        --output-directory
                        --numbered --start-number
                        --numbered-files