@@ -91,9 +91,10 @@ Requirements
9191 been tested; if you do so, please report your results.)
9292
9393* 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
9798 configure git-multimail to send emails via an SMTP server.
9899
99100
@@ -169,7 +170,7 @@ multimailhook.repoName
169170 for gitolite repositories, or otherwise to derive this value from
170171 the repository path name.
171172
172- multimailhook.mailinglist
173+ multimailhook.mailingList
173174
174175 The list of email addresses to which notification emails should be
175176 sent, as RFC 2822 email addresses separated by commas. This
@@ -184,26 +185,29 @@ multimailhook.refchangeList
184185 reference changes should be sent, as RFC 2822 email addresses
185186 separated by commas. This configuration option can be
186187 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.
189191
190192multimailhook.announceList
191193
192194 The list of email addresses to which emails about new annotated
193195 tags should be sent, as RFC 2822 email addresses separated by
194196 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.
198201
199202multimailhook.commitList
200203
201204 The list of email addresses to which emails about individual new
202205 commits should be sent, as RFC 2822 email addresses separated by
203206 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
205208 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.
207211
208212multimailhook.announceShortlog
209213
@@ -237,10 +241,11 @@ multimailhook.mailer
237241 quoting is allowed in the value of this setting, but remember that
238242 Git requires double-quotes to be escaped; e.g.,
239243
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\"'
241245
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).
244249
245250 multimailhook.envelopeSender
246251
@@ -344,6 +349,14 @@ multimailhook.logOpts
344349 [multimailhook]
345350 logopts = --pretty=format:\"%h %aN <%aE>%n%s%n%n%b%n\"
346351
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+
347360multimailhook.emailDomain
348361
349362 Domain name appended to the username of the person doing the push
@@ -381,8 +394,8 @@ Email filtering aids
381394
382395All emails include extra headers to enable fine tuned filtering and
383396give 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";
386399Revision emails also include header "X-Git-Rev".
387400
388401
@@ -463,6 +476,7 @@ The git-multimail project itself is currently hosted on GitHub:
463476We use the GitHub issue tracker to keep track of bugs and feature
464477requests, and GitHub pull requests to exchange patches (though, if you
465478prefer, 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.
466480
467481Please note that although a copy of git-multimail will probably be
468482distributed in the "contrib" section of the main Git project,
0 commit comments