Commit 3d4de98696d2d906c968008219bb9a65960e7c10
1 parent
9b250ac400
Exists in
v2017.01-smarct4x
and in
37 other branches
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>
Showing 1 changed file with 8 additions and 5 deletions Side-by-side Diff
tools/patman/README
... | ... | @@ -52,12 +52,15 @@ |
52 | 52 | How to configure it |
53 | 53 | =================== |
54 | 54 | |
55 | -For most cases of using patman for U-Boot development, patman will | |
56 | -locate and use the file 'doc/git-mailrc' in your U-Boot directory. | |
57 | -This contains most of the aliases you will need. | |
55 | +For most cases of using patman for U-Boot development, patman can use the | |
56 | +file 'doc/git-mailrc' in your U-Boot directory to supply the email aliases | |
57 | +you need. To make this work, tell git where to find the file by typing | |
58 | +this once: | |
58 | 59 | |
59 | -For Linux the 'scripts/get_maintainer.pl' handles figuring out where | |
60 | -to send patches pretty well. | |
60 | + git config sendemail.aliasesfile doc/git-mailrc | |
61 | + | |
62 | +For both Linux and U-Boot the 'scripts/get_maintainer.pl' handles figuring | |
63 | +out where to send patches pretty well. | |
61 | 64 | |
62 | 65 | During the first run patman creates a config file for you by taking the default |
63 | 66 | user name and email address from the global .gitconfig file. |