• J
    Teach log family --encoding · 52883fbd
    Junio C Hamano 提交于
    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: NJunio C Hamano <junkio@cox.net>
    52883fbd
builtin-log.c 16.1 KB