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

Re: [BUG] suppress-cc does not support multiple keywords

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Aug 13, 2025, 15:38 UTC
Message-ID
<CAPig+cTr2e6wQ79VXpADuL6UGVwtHu0qkTfFz7sBdwM_MYk6Ow@mail.gmail.com>
In-Reply-To
<xmqqfrdvp9zs.fsf@gitster.g>
On Wed, Aug 13, 2025 at 10:33 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Eric Sunshine <sunshine@sunshineco.com> writes:
> > ... If there is any "bug", it's that the documentation does state
> > that you can specify --suppress-cc multiple times (even though you
> > obviously can).
>
> "does state"?  or "does not state" or "does state that you cannot"?
>
> I guess you meant the second one

Indeed, I did mean the second one. Don't know how I dropped the word "not". Sorry for any confusion, and thanks for the correction.

Show 14 quoted lines
> The existing text
>         --suppress-cc=<category>::
>                 Specify an additional category of recipients to suppress the
>                 auto-cc of:
> does make it clear that <category> given to a single instance of
> this option is a single category ("AN additional category").
>
> Perhaps a minimum fix would be something like this?
>
> -Default is the value of `sendemail.suppressCc` configuration value; if
> +Can be given more than once to suppress multiple categories.
> +Default is the value of `sendemail.suppressCc` configuration
> +variable (which can be given multiple times, one category at a time); if
>  that is unspecified, default to `self` if `--suppress-from` is
Yes, I think that would be a welcome change.
Previous: Junio C Hamano
Message 4 of 4 in “[BUG] suppress-cc does not support multiple keywords”
  1. Timur TabiAug 13, 2025
  2. Eric SunshineAug 13, 2025
  3. Junio C HamanoAug 13, 2025
  4. Eric SunshineAug 13, 2025

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.