summaryrefslogtreecommitdiff
path: root/docs/manual/contribute.txt
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2018-10-09 10:28:31 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-10-09 14:48:07 +0200
commit507d56a6be67b7b4e5c40b55c2e56ffbb4ff0386 (patch)
treefcce75c7e798a9ae8958f7f9e39b3c05e564395a /docs/manual/contribute.txt
parent335b4ee2ce96220bcc3e047b033316c650c7d9d3 (diff)
docs/manual: document the new get-developers -e option
Explain how this can be used with git send-email, and how git can be configured to use it automatically. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'docs/manual/contribute.txt')
-rw-r--r--docs/manual/contribute.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt
index b531ea987e..60bfb961f0 100644
--- a/docs/manual/contribute.txt
+++ b/docs/manual/contribute.txt
@@ -308,6 +308,28 @@ Use the output of +get-developers+ to send your patches:
$ git send-email --to buildroot@buildroot.org --cc bob --cc alice outgoing/*
---------------------
+Alternatively, +get-developers -e+ can be used directly with the
++--cc-cmd+ argument to +git send-email+ to automatically CC the
+affected developers:
+
+---------------------
+$ git send-email --to buildroot@buildroot.org \
+ --cc-cmd './utils/get-developers -e' origin/master
+---------------------
+
++git+ can be configured to automatically do this out of the box with:
+
+---------------------
+$ git config sendemail.to buildroot@buildroot.org
+$ git config sendemail.ccCmd "$(pwd)/utils/get-developers -e"
+---------------------
+
+And then just do:
+
+---------------------
+$ git send-email origin/master
+---------------------
+
Note that +git+ should be configured to use your mail account.
To configure +git+, see +man git-send-email+ or google it.