I've been using the sendemail.cc config as well, but unfortunately it is
not used by stgit.  If you use stgit to send patches you'll have to
copy /usr/share/stgit/templates/patchmail.tmpl to ~/.stgit and add a
'CC: patc...@linaro.org' line to it.

I guess we should add these two tips to one of the pages under
<https://wiki.linaro.org/Mentoring/Git/>. Any suggestions?

Cheers,

On Tue, 2011-02-22 at 18:38 +0200, Amit Kucheria wrote:
> Hi,
> 
> We're required to cc patc...@linaro.org for all patches that we send
> upstream. bzr/launchpad users are already covered or will be shortly.
> 
> For those using git-send-email to send patches (and you really should
> be), it might make sense to use the following command so you don't
> forget
> 
> $ git config --global --add sendemail.bcc "patc...@linaro.org"
> 
> Check $HOME/.gitconfig to make sure you see "bcc = patc...@linaro.org"
> under the [sendemail] section.
> WARNING - this will bcc patc...@linaro.org on all patches from that
> machine sent using git-send-email.
> 
> If you want more control, and your linaro work happens in a single git
> tree, you could do the following:
> 
> $ cd <your linaro git tree>
> $ git config --add sendemail.bcc "patc...@linaro.org"
> 
> Check <your linaro git tree>/.git/config for the bcc entry as above.
> Now patches send from that tree will be bcc'ed to patches@linaro.
> 
> /Amit
> p.s. There is also a sendemail.cc instead of sendemail.bcc in case you
> want to use that.

-- 
Guilherme Salgado <https://launchpad.net/~salgado>

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to