X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=config.c;h=152fa282f0853d42e5be767770e6dfa04887a0d3;hb=4e72dcec89c7cda7022d4ec2dd686e77deb5376e;hp=0c43d7615b68cb41b60a140bdcf26559b24cc3e0;hpb=56fc63193975edd4b9f520b6c65c2b97ecd8ee38;p=git.git diff --git a/config.c b/config.c index 0c43d761..152fa282 100644 --- a/config.c +++ b/config.c @@ -237,6 +237,11 @@ int git_default_config(const char *var, const char *value) return 0; } + if (!strcmp(var, "i18n.commitencoding")) { + strncpy(git_commit_encoding, value, sizeof(git_commit_encoding)); + return 0; + } + /* Add other config variables here.. */ return 0; }