On Thu, Sep 23, 2010 at 8:58 AM, Julia Lawall <julia@xxxxxxx> wrote: > On Thu, 23 Sep 2010, Joe Perches wrote: > >> On Thu, 2010-09-23 at 16:00 +0400, Vasiliy Kulikov wrote: >> > On Thu, Sep 23, 2010 at 13:09 +0400, Vasiliy Kulikov wrote: >> > > On Thu, Sep 23, 2010 at 10:55 +0200, Julia Lawall wrote: >> > > > I made some changes to git-send-email to get it to send mail to different >> > > > people, ie a different set of addresses for each patch. Is that now >> > > > possible with the standard version? If not I can submit a patch with my >> > > > changes at some point. >> > > I use git-send-email --cc-cmd=script_to_form_cc_list. >> >> I believe that Julia means some mechanism to vary the >> "to" addresses for each patch, ie: some "--to-cmd=cmd". > > Yes, sort of. I took the strategy of precomputing the To addresses, so I > just have a collection of files that have different To and Cc addresses. > But a --to-cmd option seems like a good idea too. > > julia > > >> > I mean this: >> > for f in *.patch; do >> > CMD="script_to_form_cc_list $f" >> > git-send-email --cc-cmd="$CMD" ... "$f" >> > done >> >> You could also do that with a single line as the target >> cc-cmd receives each $f as argument. >> >> git send-email --cc-cmd=script_to_form_cc_list ... *.patch >> Thanks, all much saner solutions than my own. I should have read the manpages; I didn't know that format-patch has a --thread option or that send-email has --cc-cmd. It does seem that a --to-cmd would also be beneficial. -mfm -- GPG-Key: 9AFE00EA -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html