Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: no [--merge|--rebase] when newly cloned
[gitweb.git]
/
builtin
/
mailinfo.c
diff --git
a/builtin/mailinfo.c
b/builtin/mailinfo.c
index 2320d981ceab220e287e42c21f3c9f3be5b3722f..71e6262a87d883a4a82953db5f742bccf99e5c77 100644
(file)
--- a/
builtin/mailinfo.c
+++ b/
builtin/mailinfo.c
@@
-1032,7
+1032,7
@@
int cmd_mailinfo(int argc, const char **argv, const char *prefix)
*/
git_config(git_mailinfo_config, NULL);
- def_charset =
(git_commit_encoding ? git_commit_encoding : "UTF-8"
);
+ def_charset =
get_commit_output_encoding(
);
metainfo_charset = def_charset;
while (1 < argc && argv[1][0] == '-') {