Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: minor rewording for git-log and git-show pages.
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index eb06afbbe0f00ac4f553e37c50eca290418a7907..e13b9cb6a354e8a5615496477768ea69edb060b3 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-633,6
+633,8
@@
static char *logmsg_reencode(const struct commit *commit)
: git_commit_encoding);
if (!output_encoding)
+ output_encoding = "utf-8";
+ else if (!*output_encoding)
return NULL;
encoding = get_header(commit, "encoding");
if (!encoding || !strcmp(encoding, output_encoding)) {