author | Jürgen Rühle <j-r@online.de> | |
Wed, 10 Jan 2007 21:36:39 +0000 (13:36 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 10 Jan 2007 21:39:16 +0000 (13:39 -0800) | ||
commit | 374c59056a0719fe1244280cdb6fdce48672f441 | |
tree | 931fabdb7941e448f6bdf9396af8a13d77c67bf8 | tree | snapshot |
parent | c2cb959fe7c7e5736cead7edf2b69be7e072a543 | commit | diff |
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 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 | diff | blob | history |