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

Re: Changing the defaults for send-email / suppress-cc ?

From
TLTeemu Likonen <tlikonen@iki.fi>
Date
Mar 1, 2009, 05:49 UTC
Message-ID
<87ljrphjxv.fsf@iki.fi>
In-Reply-To
<7d1d9c250902281129t1ea0d9d0k796d97bdd0af046d@mail.gmail.com>
On 2009-02-28 14:29 (-0500), Paul Gortmaker wrote:
Show 6 quoted lines
> I've been involved in helping people who are new git users, and the
> one thing that seems to violate the principle of least surprise for
> them is the default setting for the sendemail.suppresscc -- in that
> the new users don't expect the additional CC lines to be automatically
> added based on what is present in the content of the mbox
> (format-patch output).
Show 6 quoted lines
> In light of this, I've simply advised new users to run something like:
>
> git config --global sendemail.suppresscc all
>
> ...just so that they won't accidentally do what I've described in the
> above.

Agreed. In the past I have sent a couple of test patches to wrong places because of these automatic CCs. I think that send-email or any e-mail client should only send mail for addresses which user has explicitly selected or otherwise confirmed.

With a time machine I would make the opposite option for send-email: something like sendemail.autocc and --autocc=. Then user would configure different recipient categories who she wants to send automatic CCs. It's easier to think this way. But we don't have a time machine so at least some kind confirm message would be nice.

Previous: Jay Soffian
Message 10 of 10 in “Changing the defaults for send-email / suppress-cc ?”
  1. Paul GortmakerFeb 28, 2009
  2. Junio C HamanoMar 1, 2009
  3. Paul GortmakerMar 1, 2009
  4. send-email: confirm auto cc before sendingJay Soffian, Mar 1, 2009
  5. Sverre RabbelierMar 1, 2009
  6. Nanako ShiraishiMar 1, 2009
  7. Jay SoffianMar 1, 2009
  8. Jay SoffianMar 1, 2009
  9. Jay SoffianMar 1, 2009
  10. Teemu LikonenMar 1, 2009

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.