git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Content-Type handling
@ 2012-09-17 16:34 Tomas Cohen Arazi
  2012-09-17 17:18 ` Re*: " Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Tomas Cohen Arazi @ 2012-09-17 16:34 UTC (permalink / raw)
  To: git

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+

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-17 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-17 16:34 Content-Type handling Tomas Cohen Arazi
2012-09-17 17:18 ` Re*: " Junio C Hamano
2012-09-17 22:28   ` [PATCH] mailinfo: do not concatenate charset= attribute values from mime headers Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).