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

[BUG] suppress-cc does not support multiple keywords

From
TTTimur Tabi <timur@kernel.org>
Date
Aug 13, 2025, 00:05 UTC
Message-ID
<CAOZdJXWaC2U_YrwuDcA0x3iUeF_uJ658a93cTfdLftEXYRB52Q@mail.gmail.com>

I hope this isn't just some user error on my part, but whenever I use the --suppress-cc option, and I specify more than one keyword (e.g. --suppress-cc=author,self ), git complains that it doesn't recognize the keyword. It seems that it treats all of the comma-separated keywords as one big keyword with commas in it.

Here's the git-bugreport:

Thank you for filling out a Git bug report! Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)
git send-email --suppress-cc=author,self ...
What did you expect to happen? (Expected behavior)
The command to succeed, excluding "author" and "self" from the automatic CC.
What happened instead? (Actual behavior)
Unknown --suppress-cc field: 'author,self'
What's different between what you expected and what actually happened?
The --suppress-cc command should accept multiple keywords.
Anything else you want to add:

I was able to work around the problem by specifying --suppress-cc multiple times, once for each keyword.

[System Info]
git version 2.50.1
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
libcurl: 8.5.0
zlib: 1.3
SHA-1: SHA1_DC
SHA-256: SHA256_BLK
uname: Linux 6.14.0-27-generic #27~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 2>
compiler info: gnuc: 13.3
libc info: glibc: 2.39
$SHELL (typically, interactive shell): /bin/bash
[Enabled Hooks]
Next: Eric Sunshine
Message 1 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.