summaryrefslogtreecommitdiff
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-07 21:07:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-01-07 21:07:27 (GMT)
commit5095fa61e38c92cbc8c603880f04f0d6127ae72e (patch)
tree30a2f235d0e73ee3c7e1dac76b1c3d20c30923a0 /Documentation/git-send-email.txt
parent948e81408d29be0d39b55d5da41a6c7c9b93fbc0 (diff)
parent2cf770f50185fc7a1e3aaa0463eb452d32517f83 (diff)
downloadgit-5095fa61e38c92cbc8c603880f04f0d6127ae72e.zip
git-5095fa61e38c92cbc8c603880f04f0d6127ae72e.tar.gz
git-5095fa61e38c92cbc8c603880f04f0d6127ae72e.tar.bz2
Merge branch 'lh/send-email-hide-x-mailer'
"git send-email" normally identifies itself via X-Mailer: header in the message it sends out. A new command line flag allows the user to squelch the header. * lh/send-email-hide-x-mailer: test/send-email: --[no-]xmailer tests send-email: add --[no-]xmailer option
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 a9efa5c..e04849e 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -141,6 +141,11 @@ Note that no attempts whatsoever are made to validate the encoding.
configuration value; if that is unspecified, git will use 8bit and not
add a Content-Transfer-Encoding header.
+--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
~~~~~~~