path: root/Documentation/git-send-email.txt
diff options
authorThomas Rast <>2010-06-17 20:10:39 (GMT)
committerJunio C Hamano <>2010-06-18 15:47:32 (GMT)
commit3cae7e5b2b9c73aca6a7729bc34c1ce6638fa43a (patch)
treebdd623f6588b7ddade0ed4299938c1e35647a17f /Documentation/git-send-email.txt
parent0d4dbcd35e89a549055e34daf410e4579571b984 (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-send-email.txt')
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.
+ 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.