]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
send-email: work around double encoding of in-body From field.
authorJürgen Rühle <j-r@online.de>
Wed, 10 Jan 2007 21:36:39 +0000 (13:36 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 10 Jan 2007 21:39:16 +0000 (13:39 -0800)
commit374c59056a0719fe1244280cdb6fdce48672f441
tree931fabdb7941e448f6bdf9396af8a13d77c67bf8
parentc2cb959fe7c7e5736cead7edf2b69be7e072a543
send-email: work around double encoding of in-body From field.

git-send-email sends out the message taken from format-patch
output without quoting nor encoding.  When copying the From:
line to form in-body From: field, it should not copy it
verbatim, because the From: for the header is quoted according
to RFC 2047 when not ASCII.

The original came from Jürgen Rühle, but I moved the
string munging into a separate function so that later other
people can tweak it more easily.  Bugs introduced during the
translation are mine.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-send-email.perl