summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-27 16:09:40 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-27 16:09:40 -0800
commit4e72dcec89c7cda7022d4ec2dd686e77deb5376e (patch)
treedfac5ab58034e7129ba0d8096ca2bb6857df2242 /environment.c
parent55d1eb047d4dffc633502ea2a80dd092194fc900 (diff)
downloadgit-4e72dcec89c7cda7022d4ec2dd686e77deb5376e.tar.gz
Introduce i18n.commitencoding.
This is to hold what the project-local rule as to the charset/encoding for the commit log message is. Lack of it defaults to utf-8. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c
index 3f194732e5..0886ad38f9 100644
--- a/environment.c
+++ b/environment.c
@@ -14,6 +14,7 @@ char git_default_name[MAX_GITNAME];
int trust_executable_bit = 1;
int only_use_symrefs = 0;
int repository_format_version = 0;
+char git_commit_encoding[MAX_ENCODING_LENGTH] = "utf-8";
static char *git_dir, *git_object_dir, *git_index_file, *git_refs_dir,
*git_graft_file;