git: Tell git send-email where to send patches.
authorJason Merrill <jason@redhat.com>
Tue, 1 Dec 2020 15:46:13 +0000 (10:46 -0500)
committerJason Merrill <jason@redhat.com>
Wed, 2 Dec 2020 19:41:02 +0000 (14:41 -0500)
commit4ed34c60a818cc513239844f336fc781a8b47a24
tree69ea5a432d44fd630984d4da7c207468164b35c1
parent69bf1c7d5ee21392334f1982d1b40c38e103bbd4
git: Tell git send-email where to send patches.

I've been using

  git send-email --annotate --suppress-from --to=gcc-patches@gcc.gnu.org \
  ${@:-HEAD^} ':!*/ChangeLog' ':!*configure'

for sending most patches, but it occurs to me that it would be useful to put
the To: address in the configury.

If someone were feeling ambitious, they could write a script to analyze a
patch and add the relevant maintainers to To: or CC:.

contrib/ChangeLog:

* gcc-git-customization.sh: Configure sendemail.to.
contrib/gcc-git-customization.sh