summaryrefslogtreecommitdiffstats
path: root/tools/patman/README
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-03 20:40:36 -0600
committerSimon Glass <sjg@chromium.org>2015-01-30 15:55:30 -0700
commit3d4de98696d2d906c968008219bb9a65960e7c10 (patch)
tree8702ede4823f3accd49a46b48bdcb61add827ce1 /tools/patman/README
parent9b250ac400603fae55193412107fe3b1d746fa2f (diff)
downloadu-boot-3d4de98696d2d906c968008219bb9a65960e7c10.tar.gz
u-boot-3d4de98696d2d906c968008219bb9a65960e7c10.tar.xz
u-boot-3d4de98696d2d906c968008219bb9a65960e7c10.zip
patman: Explain how to make doc/git-mailrc work
Add an explanation for how to set up git so that patman can find the alias file. Fix up the get_maintainers message too. Reported-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/README')
-rw-r--r--tools/patman/README13
1 files changed, 8 insertions, 5 deletions
diff --git a/tools/patman/README b/tools/patman/README
index e466886ed2..7d039e82bc 100644
--- a/tools/patman/README
+++ b/tools/patman/README
@@ -52,12 +52,15 @@ will get a consistent result each time.
How to configure it
===================
-For most cases of using patman for U-Boot development, patman will
-locate and use the file 'doc/git-mailrc' in your U-Boot directory.
-This contains most of the aliases you will need.
+For most cases of using patman for U-Boot development, patman can use the
+file 'doc/git-mailrc' in your U-Boot directory to supply the email aliases
+you need. To make this work, tell git where to find the file by typing
+this once:
-For Linux the 'scripts/get_maintainer.pl' handles figuring out where
-to send patches pretty well.
+ git config sendemail.aliasesfile doc/git-mailrc
+
+For both Linux and U-Boot the 'scripts/get_maintainer.pl' handles figuring
+out where to send patches pretty well.
During the first run patman creates a config file for you by taking the default
user name and email address from the global .gitconfig file.