author | Junio C Hamano <junkio@cox.net> | |
Sat, 30 Dec 2006 10:18:24 +0000 (02:18 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 30 Dec 2006 10:18:24 +0000 (02:18 -0800) | ||
commit | 4b46e22d48271d1a220133a925dc5009048eb577 | |
tree | ce1c02dae62ea63a6c4e53d3f454cc553e778aff | tree | snapshot |
parent | 1ed4813f7d018eb35187209d43b98746a2e69542 | commit | diff |
commit re-encoding: fix confusion between no and default conversion.
Telling the git-log family not to do any character conversion is
done with --encoding=none, which sets log_output_encoding to an
empty string. However, logmsg_reencode() confused this with
log_output_encoding and commit_encoding set to NULL. The latter
means we should use the default encoding (i.e. utf-8).
Signed-off-by: Junio C Hamano <junkio@cox.net>
Telling the git-log family not to do any character conversion is
done with --encoding=none, which sets log_output_encoding to an
empty string. However, logmsg_reencode() confused this with
log_output_encoding and commit_encoding set to NULL. The latter
means we should use the default encoding (i.e. utf-8).
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c | diff | blob | history |