add, merge, diff: do not use strcasecmp to compare config variable names
[gitweb.git] / builtin / add.c
index d39a6ab930adf2e3cd716d3e9925350befed8947..944e5a8cc9f4741c01cdca2911212d462faadcd3 100644 (file)
@@ -330,8 +330,8 @@ static struct option builtin_add_options[] = {
 
 static int add_config(const char *var, const char *value, void *cb)
 {
-       if (!strcasecmp(var, "add.ignoreerrors") ||
-           !strcasecmp(var, "add.ignore-errors")) {
+       if (!strcmp(var, "add.ignoreerrors") ||
+           !strcmp(var, "add.ignore-errors")) {
                ignore_add_errors = git_config_bool(var, value);
                return 0;
        }