author | Thomas Rast <trast@student.ethz.ch> | |
Thu, 17 Jun 2010 20:10:39 +0000 (22:10 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 18 Jun 2010 15:47:32 +0000 (08:47 -0700) | ||
commit | 3cae7e5b2b9c73aca6a7729bc34c1ce6638fa43a | |
tree | bdd623f6588b7ddade0ed4299938c1e35647a17f | tree | snapshot |
parent | 0d4dbcd35e89a549055e34daf410e4579571b984 | commit | 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 <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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>
Documentation/git-send-email.txt | diff | blob | history | |
git-send-email.perl | diff | blob | history | |
t/t9001-send-email.sh | diff | blob | history |