Code

completion: add --cc and --no-attachment option to format-patch
authorStephen Boyd <bebarino@gmail.com>
Mon, 23 Mar 2009 10:26:50 +0000 (03:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2009 02:17:33 +0000 (19:17 -0700)
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>
contrib/completion/git-completion.bash

index 87192424984a1fd479280735485391bc9b978365..b96458f2967ac256d6a11cc3accdb84ba464e91d 100755 (executable)
@@ -932,13 +932,13 @@ _git_format_patch ()
        case "$cur" in
        --*)
                __gitcomp "
-                       --stdout --attach --thread
+                       --stdout --attach --no-attach --thread
                        --output-directory
                        --numbered --start-number
                        --numbered-files
                        --keep-subject
                        --signoff
-                       --in-reply-to=
+                       --in-reply-to= --cc=
                        --full-index --binary
                        --not --all
                        --cover-letter