git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: --suppress-* options error out, apparently passing to format-patch too.

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 10, 2026, 00:22 UTC
Message-ID
<xmqq7bsl30rv.fsf@gitster.g>
In-Reply-To
<CAJfuBxwJ_=4mh4gBd3Y98rVRWNZ=xyJAiDxMXb+2TEn6uJM_6g@mail.gmail.com>
jim.cromie@gmail.com writes:
Show 13 quoted lines
> [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.
Previous: jim.cromie@gmail.comNext: jim.cromie@gmail.com
Message 2 of 3 in “--suppress-* options error out, apparently passing to format-patch too.”
  1. jim.cromie@gmail.comFeb 9, 2026
  2. Junio C HamanoFeb 10, 2026
  3. jim.cromie@gmail.comFeb 10, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.