diff --git a/config.c b/config.c index cf803580c9..9b7c6f2942 100644 --- a/config.c +++ b/config.c @@ -168,7 +168,7 @@ static int git_parse_file(config_fn_t fn) } if (!isalpha(c)) break; - var[baselen] = c; + var[baselen] = tolower(c); if (get_value(fn, var, baselen+1) < 0) break; }