From: Stephen Boyd Date: Mon, 23 Mar 2009 10:26:51 +0000 (-0700) Subject: completion: add --thread=deep/shallow to format-patch X-Git-Tag: v1.6.3-rc0~97 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e1d37937ac3c15898afdb6117349a30d0eae5e64;p=git.git completion: add --thread=deep/shallow to format-patch Signed-off-by: Stephen Boyd Trivially-Acked-By: Shawn O. Pearce Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index b96458f29..1c6b0e28e 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -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