aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorLuis Henriques <henrix@camandro.org>2014-03-24 21:38:27 +0000
committerJunio C Hamano <gitster@pobox.com>2014-12-15 15:17:25 -0800
commitac1596a684a44144efa2d52d9104b0d627e6d9a1 (patch)
tree47d5d041d294cb960f5ab14f472c1b3f994898ea /Documentation/git-send-email.txt
parent7fa1365c54c28b3cd9375539f381b54061a1880d (diff)
downloadgit-ac1596a684a44144efa2d52d9104b0d627e6d9a1.tar.gz
send-email: add --[no-]xmailer option
Add --[no-]xmailer that allows a user to disable adding the 'X-Mailer:' header to the email being sent. Signed-off-by: Luis Henriques <henrix@camandro.org> Acked-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-send-email.txt')
-rw-r--r--Documentation/git-send-email.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index a60776eb57..a0bd806cfe 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -131,6 +131,11 @@ Note that no attempts whatsoever are made to validate the encoding.
Specify encoding of compose message. Default is the value of the
'sendemail.composeencoding'; if that is unspecified, UTF-8 is assumed.
+--xmailer::
+--no-xmailer::
+ Add (or prevent adding) the "X-Mailer:" header. By default,
+ the header is added, but it can be turned off by setting the
+ `sendemail.xmailer` configuration variable to `false`.
Sending
~~~~~~~