git-send-email: introduce compose-encoding
commit62e0069056ed11294c29bae25df69b6518f6339e
authorKrzysztof Mazur <krzysiek@podlesie.net>
Tue, 9 Oct 2012 23:02:56 +0000 (10 01:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Oct 2012 07:33:40 +0000 (10 00:33 -0700)
tree3bd80750f09d38d7b3d7349609d4ff352e87c22a
parentdc01f880a53e56d4a5c6f30cb2d7b9412e17bfe7
git-send-email: introduce compose-encoding

The introduction email (--compose option) have encoding hardcoded to
UTF-8, but invoked editor may not use UTF-8 encoding.
The encoding used by patches can be changed by the "8bit-encoding"
option, but this option does not have effect on introduction email
and equivalent for introduction email is missing.

Added compose-encoding command line option and sendemail.composeencoding
configuration option specify encoding of introduction email.

Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl
t/t9001-send-email.sh