diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2009-05-18 18:44:39 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-18 20:53:12 -0700 |
commit | 330db18c0277dcfcf322bb61c688acfb5ddf3867 (patch) | |
tree | f25c13a0efa8356046fc223bdf44bae0a12fe789 /builtin-revert.c | |
parent | 5ae93dfdccfe9457bdb1f54b33c76359f6c3b861 (diff) | |
download | git-330db18c0277dcfcf322bb61c688acfb5ddf3867.tar.gz |
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-revert.c')
-rw-r--r-- | builtin-revert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-revert.c b/builtin-revert.c index 3f2614e1bb..ae0139500a 100644 --- a/builtin-revert.c +++ b/builtin-revert.c @@ -323,9 +323,9 @@ static int revert_or_cherry_pick(int argc, const char **argv) encoding = get_encoding(message); if (!encoding) - encoding = "utf-8"; + encoding = "UTF-8"; if (!git_commit_encoding) - git_commit_encoding = "utf-8"; + git_commit_encoding = "UTF-8"; if ((reencoded_message = reencode_string(message, git_commit_encoding, encoding))) message = reencoded_message; |