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

Re: [PATCH] contrib/hooks/post-receive-email: send individual mails to recipients

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 12, 2008, 18:18 UTC
Message-ID
<7v3ahwq043.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<E1L0Jyh-00Bzdi-7r@intern.SerNet.DE>
Michael Adam <obnox@samba.org> writes:
Show 14 quoted lines
> Junio C Hamano wrote:
>> Michael Adam <obnox@samba.org> writes:
>> 
>> > This changes the behaviour of post-receive-email when a list of recipients
>> > (separated by commas) is specified as hooks.mailinglist. With this modification,
>> > an individual mail is sent out for each recipient entry in the list, instead
>> > of sending a single mail with all the recipients in the "To: " field.
>> 
>> Why can that be an improvement?
>
> My use case is that I have a repository where I want to send
> commit messages to an "official" mailing list and to a private
> recipient list that might not want to be seen on the official
> mailing list.

Ah. What you want is a capability to add Bcc:, not a misfeature to run the log formatter repeatedly wasting cycles only to generate the same message contents.

Previous: Michael AdamNext: Michael Adam
Message 4 of 5 in “contrib/hooks/post-receive-email: send individual mails to recipients”
  1. contrib/hooks/post-receive-email: send individual mails to recipientsMichael Adam, Nov 12, 2008
  2. Junio C HamanoNov 12, 2008
  3. Michael AdamNov 12, 2008
  4. Junio C HamanoNov 12, 2008
  5. Michael AdamNov 12, 2008

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.