Git development
 help / color / mirror / Atom feed
From: Michael Adam <obnox@samba.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Michael Adam <obnox@samba.org>,
	git@vger.kernel.org, Andy Parkins <andyparkins@gmail.com>
Subject: Re: [PATCH] contrib/hooks/post-receive-email: send individual mails to recipients
Date: Wed, 12 Nov 2008 18:58:07 +0100	[thread overview]
Message-ID: <E1L0Jyh-00Bzdi-7r@intern.SerNet.DE> (raw)
In-Reply-To: <7vfxlwq1gn.fsf@gitster.siamese.dyndns.org>

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

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.

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


[-- Attachment #2: Type: application/pgp-signature, Size: 206 bytes --]

  reply	other threads:[~2008-11-12 17:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 16:21 [PATCH] contrib/hooks/post-receive-email: send individual mails to recipients Michael Adam
2008-11-12 17:49 ` Junio C Hamano
2008-11-12 17:58   ` Michael Adam [this message]
2008-11-12 18:18     ` Junio C Hamano
2008-11-12 22:21       ` Michael Adam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1L0Jyh-00Bzdi-7r@intern.SerNet.DE \
    --to=obnox@samba.org \
    --cc=andyparkins@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox