i18n: do not leak 'encoding' header even when we cheat the conversion.
commite90068a9046ccaf0bed82fd180b4748edbd5659a
authorJunio C Hamano <junkio@cox.net>
Mon, 1 Jan 2007 02:18:23 +0000 (31 18:18 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 1 Jan 2007 02:55:28 +0000 (31 18:55 -0800)
treed1395f34dc5e00533e00caf27b10fd8c7569ab77
parentfbc9012307d3b2e1bcee84e4455b11e97f580e07
i18n: do not leak 'encoding' header even when we cheat the conversion.

We special case the case where encoding recorded in the commit
and the output encoding are the same and do not call iconv().
But we should drop 'encoding' header for this case as well for
consistency.

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