public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
* --suppress-* options error out, apparently passing to format-patch too.
@ 2026-02-09 23:42 jim.cromie
  2026-02-10  0:22 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: jim.cromie @ 2026-02-09 23:42 UTC (permalink / raw)
  To: git

[jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to
--suppress-to --no-cc --dry-run
0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch
fatal: unrecognized argument: --suppress-to
format-patch -o /tmp/tXB5tLINzc --suppress-to: command returned error: 128
[jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to
--suppress-to=all --no-cc --dry-run
0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch
fatal: unrecognized argument: --suppress-to=all
format-patch -o /tmp/Y47eIqlSDG --suppress-to=all: command returned error: 128

--no-to --no-cc also doesnt work (as Id expect), it still wants to cc
to one given in patch-file.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: --suppress-* options error out, apparently passing to format-patch too.
  2026-02-09 23:42 --suppress-* options error out, apparently passing to format-patch too jim.cromie
@ 2026-02-10  0:22 ` Junio C Hamano
  2026-02-10  0:33   ` jim.cromie
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2026-02-10  0:22 UTC (permalink / raw)
  To: jim.cromie; +Cc: git

jim.cromie@gmail.com writes:

> [jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to
> --suppress-to --no-cc --dry-run
> 0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch
> fatal: unrecognized argument: --suppress-to
> format-patch -o /tmp/tXB5tLINzc --suppress-to: command returned error: 128
> [jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to
> --suppress-to=all --no-cc --dry-run
> 0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch
> fatal: unrecognized argument: --suppress-to=all
> format-patch -o /tmp/Y47eIqlSDG --suppress-to=all: command returned error: 128
>
> --no-to --no-cc also doesnt work (as Id expect), it still wants to cc
> to one given in patch-file.

My findings from a quick read of the send-email script:

 * There are --suppress-cc and --suppress-from but there is no
   --suppress-to option at all.

 * There are --no-cc and --no-to but they suppress cc and to
   addresses from the command line (and probably from the
   configuration); addresses a specific patch file lists to be sent
   are not affected.

Documentation updates might be needed.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: --suppress-* options error out, apparently passing to format-patch too.
  2026-02-10  0:22 ` Junio C Hamano
@ 2026-02-10  0:33   ` jim.cromie
  0 siblings, 0 replies; 3+ messages in thread
From: jim.cromie @ 2026-02-10  0:33 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

On Mon, Feb 9, 2026 at 5:22 PM Junio C Hamano <gitster@pobox.com> wrote:
>
> jim.cromie@gmail.com writes:
>
> > [jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to
> > --suppress-to --no-cc --dry-run
> > 0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch
> > fatal: unrecognized argument: --suppress-to
> > format-patch -o /tmp/tXB5tLINzc --suppress-to: command returned error: 128
> > [jimc@godzilla wk-test]$ git send-email --to=$trybot --no-to
> > --suppress-to=all --no-cc --dry-run
> > 0001-dyndbg-fix-NULL-ptr-on-i386-due-to-section-alignment.patch
> > fatal: unrecognized argument: --suppress-to=all
> > format-patch -o /tmp/Y47eIqlSDG --suppress-to=all: command returned error: 128
> >
> > --no-to --no-cc also doesnt work (as Id expect), it still wants to cc
> > to one given in patch-file.
>
> My findings from a quick read of the send-email script:
>
>  * There are --suppress-cc and --suppress-from but there is no
>    --suppress-to option at all.
>

Indeed.  my brain filled that in.
once I dropped it, the cmd succeeded.

>  * There are --no-cc and --no-to but they suppress cc and to
>    addresses from the command line (and probably from the
>    configuration); addresses a specific patch file lists to be sent
>    are not affected.
>

yes, that explains things.

> Documentation updates might be needed.

       --no-to, --no-cc, --no-bcc
           Clear any list of To:, Cc:, Bcc: addresses previously set via config.

I did find "config" somewhat ambiguous. "options" would be clearer.

thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-10  0:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09 23:42 --suppress-* options error out, apparently passing to format-patch too jim.cromie
2026-02-10  0:22 ` Junio C Hamano
2026-02-10  0:33   ` jim.cromie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox