summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-06-17 20:10:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-06-18 15:47:32 (GMT)
commit3cae7e5b2b9c73aca6a7729bc34c1ce6638fa43a (patch)
treebdd623f6588b7ddade0ed4299938c1e35647a17f /Documentation
parent0d4dbcd35e89a549055e34daf410e4579571b984 (diff)
downloadgit-3cae7e5b2b9c73aca6a7729bc34c1ce6638fa43a.zip
git-3cae7e5b2b9c73aca6a7729bc34c1ce6638fa43a.tar.gz
git-3cae7e5b2b9c73aca6a7729bc34c1ce6638fa43a.tar.bz2
send-email: ask about and declare 8bit mails
git-send-email passes on an 8bit mail as-is even if it does not declare a content-type. Because the user can edit email between format-patch and send-email, such invalid mails are unfortunately not very hard to come by. Make git-send-email stop and ask about the encoding to use if it encounters any such mail. Also provide a configuration setting to permanently configure an encoding. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-send-email.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 3dfdc7c..e70d9bf 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -101,6 +101,15 @@ See the CONFIGURATION section for 'sendemail.multiedit'.
+
The --to option must be repeated for each user you want on the to list.
+--8bit-encoding=<encoding>::
+ When encountering a non-ASCII message or subject that does not
+ declare its encoding, add headers/quoting to indicate it is
+ encoded in <encoding>. Default is the value of the
+ 'sendemail.assume8bitEncoding'; if that is unspecified, this
+ will be prompted for if any non-ASCII files are encountered.
++
+Note that no attempts whatsoever are made to validate the encoding.
+
Sending
~~~~~~~