Code

completion: add --annotate option to send-email
authorStephen Boyd <bebarino@gmail.com>
Mon, 23 Mar 2009 10:26:49 +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 10e36a7b0dc574eae9a6a5465a5b19506909251d..87192424984a1fd479280735485391bc9b978365 100755 (executable)
@@ -1264,8 +1264,8 @@ _git_send_email ()
        local cur="${COMP_WORDS[COMP_CWORD]}"
        case "$cur" in
        --*)
-               __gitcomp "--bcc --cc --cc-cmd --chain-reply-to --compose
-                       --dry-run --envelope-sender --from --identity
+               __gitcomp "--annotate --bcc --cc --cc-cmd --chain-reply-to
+                       --compose --dry-run --envelope-sender --from --identity
                        --in-reply-to --no-chain-reply-to --no-signed-off-by-cc
                        --no-suppress-from --no-thread --quiet
                        --signed-off-by-cc --smtp-pass --smtp-server