Teach log family --encoding
authorJunio C Hamano <junkio@cox.net>
Mon, 25 Dec 2006 19:48:35 +0000 (11:48 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 26 Dec 2006 08:52:13 +0000 (00:52 -0800)
commit52883fbd767f8a79a6f98a08907d0a9f6ba1ece1
tree7b148784dc3ffe306d2a9bfbd823c7414e0327b9
parent4b2bced55948422198dad92dcbf4b5b98913f1e7
Teach log family --encoding

Updated commit objects record the encoding used in their
encoding header.  This updates the log family to reencode it
into the encoding specified in i18n.commitencoding (or the
default, which is "utf-8") upon output.

To force a specific encoding that is different, log family takes
command line flag --encoding=<encoding>; giving --encoding=none
entirely disables the reencoding and lets you view log messges
in their original encoding.

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