{"thread":{"id":"64965","subject":"--suppress-* options error out, apparently passing to format-patch too.","startedAt":"2026-02-09T23:43:19Z","lastAt":"2026-02-10T00:33:29Z","messageCount":3,"participants":["jim.cromie@gmail.com","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"535628","messageId":"CAJfuBxwJ_=4mh4gBd3Y98rVRWNZ=xyJAiDxMXb+2TEn6uJM_6g@mail.gmail.com","threadId":"64965","inReplyTo":null,"subject":"--suppress-* options error out, apparently passing to format-patch too.","fromName":"","fromEmail":"jim.cromie@gmail.com","sentAt":"2026-02-09T23:42:52Z","receivedAt":"2026-02-09T23:43:19Z","isPatch":false,"sender":{"key":"jim.cromie@gmail.com","avatar":null},"body":"[jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to\n--suppress-to --no-cc --dry-run\n0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch\nfatal: unrecognized argument: --suppress-to\nformat-patch -o /tmp/tXB5tLINzc --suppress-to: command returned error: 128\n[jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to\n--suppress-to=all --no-cc --dry-run\n0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch\nfatal: unrecognized argument: --suppress-to=all\nformat-patch -o /tmp/Y47eIqlSDG --suppress-to=all: command returned error: 128\n\n--no-to --no-cc also doesnt work (as Id expect), it still wants to cc\nto one given in patch-file.\n"},{"id":"535629","messageId":"xmqq7bsl30rv.fsf@gitster.g","threadId":"64965","inReplyTo":"CAJfuBxwJ_=4mh4gBd3Y98rVRWNZ=xyJAiDxMXb+2TEn6uJM_6g@mail.gmail.com","subject":"Re: --suppress-* options error out, apparently passing to format-patch too.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-02-10T00:22:44Z","receivedAt":"2026-02-10T00:22:47Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"jim.cromie@gmail.com writes:\n\n> [jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to\n> --suppress-to --no-cc --dry-run\n> 0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch\n> fatal: unrecognized argument: --suppress-to\n> format-patch -o /tmp/tXB5tLINzc --suppress-to: command returned error: 128\n> [jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to\n> --suppress-to=all --no-cc --dry-run\n> 0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch\n> fatal: unrecognized argument: --suppress-to=all\n> format-patch -o /tmp/Y47eIqlSDG --suppress-to=all: command returned error: 128\n>\n> --no-to --no-cc also doesnt work (as Id expect), it still wants to cc\n> to one given in patch-file.\n\nMy findings from a quick read of the send-email script:\n\n * There are --suppress-cc and --suppress-from but there is no\n   --suppress-to option at all.\n\n * There are --no-cc and --no-to but they suppress cc and to\n   addresses from the command line (and probably from the\n   configuration); addresses a specific patch file lists to be sent\n   are not affected.\n\nDocumentation updates might be needed.\n"},{"id":"535630","messageId":"CAJfuBxzvkMuV3cNB-GvZRLtZ--sz46eGzSSAE+tHePSL44O4sA@mail.gmail.com","threadId":"64965","inReplyTo":"xmqq7bsl30rv.fsf@gitster.g","subject":"Re: --suppress-* options error out, apparently passing to format-patch too.","fromName":"","fromEmail":"jim.cromie@gmail.com","sentAt":"2026-02-10T00:33:02Z","receivedAt":"2026-02-10T00:33:29Z","isPatch":false,"sender":{"key":"jim.cromie@gmail.com","avatar":null},"body":"On Mon, Feb 9, 2026 at 5:22 PM Junio C Hamano <gitster@pobox.com> wrote:\n>\n> jim.cromie@gmail.com writes:\n>\n> > [jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to\n> > --suppress-to --no-cc --dry-run\n> > 0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch\n> > fatal: unrecognized argument: --suppress-to\n> > format-patch -o /tmp/tXB5tLINzc --suppress-to: command returned error: 128\n> > [jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to\n> > --suppress-to=all --no-cc --dry-run\n> > 0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch\n> > fatal: unrecognized argument: --suppress-to=all\n> > format-patch -o /tmp/Y47eIqlSDG --suppress-to=all: command returned error: 128\n> >\n> > --no-to --no-cc also doesnt work (as Id expect), it still wants to cc\n> > to one given in patch-file.\n>\n> My findings from a quick read of the send-email script:\n>\n>  * There are --suppress-cc and --suppress-from but there is no\n>    --suppress-to option at all.\n>\n\nIndeed.  my brain filled that in.\nonce I dropped it, the cmd succeeded.\n\n>  * There are --no-cc and --no-to but they suppress cc and to\n>    addresses from the command line (and probably from the\n>    configuration); addresses a specific patch file lists to be sent\n>    are not affected.\n>\n\nyes, that explains things.\n\n> Documentation updates might be needed.\n\n       --no-to, --no-cc, --no-bcc\n           Clear any list of To:, Cc:, Bcc: addresses previously set via config.\n\nI did find \"config\" somewhat ambiguous. \"options\" would be clearer.\n\nthank you.\n"}]}