aboutsummaryrefslogtreecommitdiff
path: root/builtin-mailinfo.c
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2009-05-18 18:44:39 -0500
committerJunio C Hamano <gitster@pobox.com>2009-05-18 20:53:12 -0700
commit330db18c0277dcfcf322bb61c688acfb5ddf3867 (patch)
treef25c13a0efa8356046fc223bdf44bae0a12fe789 /builtin-mailinfo.c
parent5ae93dfdccfe9457bdb1f54b33c76359f6c3b861 (diff)
downloadgit-330db18c0277dcfcf322bb61c688acfb5ddf3867.tar.gz
git-330db18c0277dcfcf322bb61c688acfb5ddf3867.tar.xz
Use 'UTF-8' rather than 'utf-8' everywhere for backward compatibility
Some ancient platforms (Solaris 7, IRIX 6.5) do not understand 'utf-8', but all tested implementations understand 'UTF-8'. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-mailinfo.c')
-rw-r--r--builtin-mailinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
index 1eeeb4de6..5ebc8b53c 100644
--- a/builtin-mailinfo.c
+++ b/builtin-mailinfo.c
@@ -944,7 +944,7 @@ int cmd_mailinfo(int argc, const char **argv, const char *prefix)
*/
git_config(git_default_config, NULL);
- def_charset = (git_commit_encoding ? git_commit_encoding : "utf-8");
+ def_charset = (git_commit_encoding ? git_commit_encoding : "UTF-8");
metainfo_charset = def_charset;
while (1 < argc && argv[1][0] == '-') {