diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2018-10-08 09:43:33 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-10-08 17:47:00 +0200 |
commit | bcf2ed5cc3e6cba61aedb9eeb34f39d96d612867 (patch) | |
tree | 99db9abe0ef3056c42cbaadc0ee3779513caf4ed /package/python-ipython/python-ipython.mk | |
parent | b400c2ae0b06e0be99925a56f1166bed37ff3986 (diff) | |
download | buildroot-bcf2ed5cc3e6cba61aedb9eeb34f39d96d612867.tar.gz buildroot-bcf2ed5cc3e6cba61aedb9eeb34f39d96d612867.zip |
utils/get-developers: add -e flag to only list email addresses for git send-email
When called with a list of patches, get-developers prints the entire git
send-email invocation line:
./utils/get-developers 0001-git-security-bump-to-version-2.16.5.patch
git send-email --to buildroot@buildroot.org --cc "Matt Weber <matthew.weber@rockwellcollins.com>"
This may be handy when creating an entire patch series and editing a cover
letter, but it does mean that this has to be explicitly executed and
get-developers cannot be used directly by the --cc-cmd option of git
send-email to automatically CC affected developers.
So add an -e flag to only let get-developers print the email addresses of
the affected developers in the one-email-per-line format expected by git
send-email, similar to how get_maintainer.pl works in the Linux kernel.
With this and a suitable git configuration:
git config sendemail.to buildroot@buildroot.org
git config sendemail.ccCmd "$(pwd)/utils/get-developers -e"
You can simply do:
git send-email master
To automatically mail the buildroot list and CC affected developers on
patches.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/python-ipython/python-ipython.mk')
0 files changed, 0 insertions, 0 deletions