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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 12, 2025 at 8:06 PM Timur Tabi <timur@xxxxxxxxxx> wrote:
> 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.

It's probably a case of user error. As far as I can see, the
documentation[*] does not in any way suggest that --suppress-cc
accepts a comma-separated list of categories to suppress.

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

Indeed, consulting the source code, this behavior appears to be
intentional. 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).

[*]: https://git-scm.com/docs/git-send-email#Documentation/git-send-email.txt---suppress-cccategory





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux