Content-Type handling

From: Tomas Cohen Arazi <hidden>
Date: 2016-06-15 22:54:47

Hi, I'm not sure it is a bug, but we used:

git config --global format.headers "Content-Type: text/plain; charset=\"utf-8\""

and recently (perhaps an Ubuntu default setup issue) the content-type
is being automatically set, the result is that patches contain this:

Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"

This might not be the problem, but when I apply the patch I get this:

fatal: cannot convert from UTF-8utf-8 to UTF-8

which looks like a bug. Not sure it hasn't been reported before, but I
think it should take one of the content-type specifications and not
append both. I couldn't find a place to looks for previous bug reports
to check, so forgive me if this is not the right place to report it.

Regards
To+
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help