Code

builtin format-patch: squelch content-type for 7-bit ASCII
authorJunio C Hamano <junkio@cox.net>
Mon, 22 May 2006 06:55:00 +0000 (23:55 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 22 May 2006 06:55:00 +0000 (23:55 -0700)
commitc831da664799eb4dbf082a843c34c66889548768
tree94c532ee014a80c74b1ba54a188ef3d4910b7784
parentcdd406e389bd6e0b2ad9394340a366c0c5ae27fc
builtin format-patch: squelch content-type for 7-bit ASCII

When --attach is not used, usually we do not say Content-Type:
and fluff, but if the commit message is not 7-bit ASCII, mark
it as "text/plain; charset=UTF-8".  This unclutters output
somewhat.

Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c