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

Re: [PATCH] Don't send copies to the From: address

From
CBChristian Biesinger <cbiesinger@web.de>
Date
Feb 11, 2006, 12:31 UTC
Message-ID
<43EDD911.3030003@web.de>
In-Reply-To
<7vk6c2sg66.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> I cannot speak for Ryan or Greg, but I think the script
> deliberately does this to support this workflow:

Yeah, I suspected that this was the usecase. I don't think the patch breaks that, it just compares those addresses to $from, i.e. the address from which the email is sent.

> Me, personally I do not like CC: to people on the signed-off-by
> list, but dropping a note to From: person makes perfect sense to
> me, if it is to notify the progress of the patch.

I guess my description was a bit ambiguous, I didn't mean From: as in "author of the patch", but instead From: as in "the email header for the sender of the message", that is, the person who invokes git-send-email.

> What you are after _might_ be not CC'ing it if it was your own
> patch.  Maybe something like this would help, but even if that
> is the case I suspect many people want to CC herself so it needs
> to be an optional feature.
So a new --no-cc-self option?
> -	$cc = join(", ", unique_email_list(@cc));
> +	$cc = join(", ", unique_email_list(grep { $_ ne $from } @cc));

This seems to be basically the same as what my patch does, except that your way seems better :-)

Previous: Christian BiesingerNext: Ryan Anderson
Message 5 of 6 in “Don't send copies to the From: address”
  1. Don't send copies to the From: addressChristian Biesinger, Feb 11, 2006
  2. Junio C HamanoFeb 11, 2006
  3. Greg KHFeb 11, 2006
  4. Christian BiesingerFeb 11, 2006
  5. Christian BiesingerFeb 11, 2006
  6. Ryan AndersonFeb 13, 2006

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.