diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-14 20:44:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-14 20:44:09 -0700 |
commit | 2f80de956f71880b000933b1b9bff4991c5b3ca9 (patch) | |
tree | 46baf64190b08c6c609915aa24e59578d87b1e0a /builtin/add.c | |
parent | 2de58b398b5a1f81bf74a385e41cfc2fcd9cb427 (diff) | |
parent | 8c2be75fe117f5079087a6dfb07c573cc6716143 (diff) | |
download | git-2f80de956f71880b000933b1b9bff4991c5b3ca9.tar.gz |
Merge branch 'maint'
* maint:
add, merge, diff: do not use strcasecmp to compare config variable names
Diffstat (limited to 'builtin/add.c')
-rw-r--r-- | builtin/add.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/add.c b/builtin/add.c index 704141fddf..e57abddf52 100644 --- a/builtin/add.c +++ b/builtin/add.c @@ -331,8 +331,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; } |