diff options
author | Junio C Hamano <junkio@cox.net> | 2006-12-25 11:48:35 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-26 00:52:13 -0800 |
commit | 52883fbd767f8a79a6f98a08907d0a9f6ba1ece1 (patch) | |
tree | 7b148784dc3ffe306d2a9bfbd823c7414e0327b9 /revision.h | |
parent | 4b2bced55948422198dad92dcbf4b5b98913f1e7 (diff) | |
download | git-52883fbd767f8a79a6f98a08907d0a9f6ba1ece1.tar.gz git-52883fbd767f8a79a6f98a08907d0a9f6ba1ece1.tar.xz |
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>
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h index ec991e5c5..8f7907d7a 100644 --- a/revision.h +++ b/revision.h @@ -72,6 +72,7 @@ struct rev_info { const char *ref_message_id; const char *add_signoff; const char *extra_headers; + const char *log_reencode; /* Filter by commit log message */ struct grep_opt *grep_filter; |