@matheusbsbs / matheus-bagliano / commits / e1d37937ac
Fork 0

completion: add --thread=deep/shallow to format-patch

Signed-off-by: Stephen Boyd <bebarino@gmail.com> Trivially-Acked-By: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stephen Boyd committed Mar 23, 2009 at 03:26 UTC e1d37937ac3c15898afdb6117349a30d0eae5e64
1 file changed +7 -1
contrib/completion/git-completion.bash
+7 -1
@@ -930,9 +930,15 @@ _git_format_patch ()
930 {
931 local cur="${COMP_WORDS[COMP_CWORD]}"
932 case "$cur" in
933 + --thread=*)
934 + __gitcomp "
935 + deep shallow
936 + " "" "${cur##--thread=}"
937 + return
938 + ;;
939 --*)
940 __gitcomp "
935 - --stdout --attach --no-attach --thread
941 + --stdout --attach --no-attach --thread --thread=
942 --output-directory
943 --numbered --start-number
944 --numbered-files