i18n.logToUTF8: convert commit log message to UTF-8
commit4b2bced55948422198dad92dcbf4b5b98913f1e7
authorJunio C Hamano <junkio@cox.net>
Sun, 24 Dec 2006 07:53:02 +0000 (23 23:53 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 26 Dec 2006 08:22:39 +0000 (26 00:22 -0800)
treeb0c40f4d8388acc681e1b417250fc31ce0939e4a
parentb45974a655e0e41441e5db64c091000171435096
i18n.logToUTF8: convert commit log message to UTF-8

When i18n.commitencoding is set to a non UTF-8 encoding,
commit-tree records the encoding in an extra header after
author/committer headers in the commit object.

An earlier version used trailer but Johannes points out that
there is little risk breaking existing Porcelains with a new
header.

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