send-email: ask about and declare 8bit mails
commit3cae7e5b2b9c73aca6a7729bc34c1ce6638fa43a
authorThomas Rast <trast@student.ethz.ch>
Thu, 17 Jun 2010 20:10:39 +0000 (17 22:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Jun 2010 15:47:32 +0000 (18 08:47 -0700)
treebdd623f6588b7ddade0ed4299938c1e35647a17f
parent0d4dbcd35e89a549055e34daf410e4579571b984
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>
Documentation/git-send-email.txt
git-send-email.perl
t/t9001-send-email.sh