@@ -91,9 +91,10 @@ Requirements
91
91
been tested; if you do so, please report your results.)
92
92
93
93
* To send emails using the default configuration, a standard sendmail
94
- program must be located at '/usr/sbin/sendmail' and configured
95
- correctly to send emails. If this is not the case, see the
96
- multimailhook.mailer configuration variable below for how to
94
+ program must be located at '/usr/sbin/sendmail' or
95
+ '/usr/lib/sendmail' and must be configured correctly to send emails.
96
+ If this is not the case, set multimailhook.sendmailCommand, or see
97
+ the multimailhook.mailer configuration variable below for how to
97
98
configure git-multimail to send emails via an SMTP server.
98
99
99
100
@@ -169,7 +170,7 @@ multimailhook.repoName
169
170
for gitolite repositories, or otherwise to derive this value from
170
171
the repository path name.
171
172
172
- multimailhook.mailinglist
173
+ multimailhook.mailingList
173
174
174
175
The list of email addresses to which notification emails should be
175
176
sent, as RFC 2822 email addresses separated by commas. This
@@ -184,26 +185,29 @@ multimailhook.refchangeList
184
185
reference changes should be sent, as RFC 2822 email addresses
185
186
separated by commas. This configuration option can be
186
187
multivalued. The default is the value in
187
- multimailhook.mailinglist. Set this value to the empty string to
188
- prevent reference change emails from being sent.
188
+ multimailhook.mailingList. Set this value to the empty string to
189
+ prevent reference change emails from being sent even if
190
+ multimailhook.mailingList is set.
189
191
190
192
multimailhook.announceList
191
193
192
194
The list of email addresses to which emails about new annotated
193
195
tags should be sent, as RFC 2822 email addresses separated by
194
196
commas. This configuration option can be multivalued. The
195
- default is the value in multimailhook.refchangelist or
196
- multimailhook.mailinglist. Set this value to the empty string to
197
- prevent annotated tag announcement emails from being sent.
197
+ default is the value in multimailhook.refchangeList or
198
+ multimailhook.mailingList. Set this value to the empty string to
199
+ prevent annotated tag announcement emails from being sent even if
200
+ one of the other values is set.
198
201
199
202
multimailhook.commitList
200
203
201
204
The list of email addresses to which emails about individual new
202
205
commits should be sent, as RFC 2822 email addresses separated by
203
206
commas. This configuration option can be multivalued. The
204
- default is the value in multimailhook.mailinglist . Set this value
207
+ default is the value in multimailhook.mailingList . Set this value
205
208
to the empty string to prevent notification emails about
206
- individual commits from being sent.
209
+ individual commits from being sent even if
210
+ multimailhook.mailingList is set.
207
211
208
212
multimailhook.announceShortlog
209
213
@@ -237,10 +241,11 @@ multimailhook.mailer
237
241
quoting is allowed in the value of this setting, but remember that
238
242
Git requires double-quotes to be escaped; e.g.,
239
243
240
- git config multimailhook.sendmailcommand '/usr/sbin/sendmail -t -F \"Git Repo\"'
244
+ git config multimailhook.sendmailcommand '/usr/sbin/sendmail -oi - t -F \"Git Repo\"'
241
245
242
- Default is '/usr/sbin/sendmail -t' or '/usr/lib/sendmail
243
- -t' (depending on which file is present and executable).
246
+ Default is '/usr/sbin/sendmail -oi -t' or
247
+ '/usr/lib/sendmail -oi -t' (depending on which file is
248
+ present and executable).
244
249
245
250
multimailhook.envelopeSender
246
251
@@ -344,6 +349,14 @@ multimailhook.logOpts
344
349
[multimailhook]
345
350
logopts = --pretty=format:\"%h %aN <%aE>%n%s%n%n%b%n\"
346
351
352
+ multimailhook.commitLogOpts
353
+
354
+ Options passed to "git log" to generate additional info for
355
+ revision change emails. For example, adding --ignore-all-spaces
356
+ will suppress whitespace changes. The default options are "-C
357
+ --stat -p --cc". Shell quoting is allowed; see
358
+ multimailhook.logOpts for details.
359
+
347
360
multimailhook.emailDomain
348
361
349
362
Domain name appended to the username of the person doing the push
@@ -381,8 +394,8 @@ Email filtering aids
381
394
382
395
All emails include extra headers to enable fine tuned filtering and
383
396
give information for debugging. All emails include the headers
384
- "X-Git-Repo", "X-Git-Refname", and "X-Git-Reftype". ReferenceChange
385
- emails also include headers "X-Git-Oldrev" and "X-Git-Newrev";
397
+ "X-Git-Host", "X-Git- Repo", "X-Git-Refname", and "X-Git-Reftype".
398
+ ReferenceChange emails also include headers "X-Git-Oldrev" and "X-Git-Newrev";
386
399
Revision emails also include header "X-Git-Rev".
387
400
388
401
@@ -463,6 +476,7 @@ The git-multimail project itself is currently hosted on GitHub:
463
476
We use the GitHub issue tracker to keep track of bugs and feature
464
477
requests, and GitHub pull requests to exchange patches (though, if you
465
478
prefer, you can send patches via the Git mailing list with cc to me).
479
+ Please sign off your patches as per the Git project practice.
466
480
467
481
Please note that although a copy of git-multimail will probably be
468
482
distributed in the "contrib" section of the main Git project,
0 commit comments