Re: [PATCH] contrib/hooks/post-receive-email: send individual mails to recipients
- From
Michael Adam <obnox@samba.org>
- Date
- Nov 12, 2008, 17:58 UTC
- Message-ID
- <E1L0Jyh-00Bzdi-7r@intern.SerNet.DE>
- In-Reply-To
- <7vfxlwq1gn.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 8 quoted lines
> 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.
If this is not generally useful, I could make it optional or add s/th like a secondary mailing list argument to hooks.
Cheers - Michael