diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-01 16:40:26 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-01 16:40:26 -0800 |
commit | 5501bf854ce6a3847ef0de6f6aa63f6b93e82b67 (patch) | |
tree | 207af060fbb0f8ce50f93cd1cc8c73d049729ce1 /builtin | |
parent | Merge branch 'jl/maint-pull-tags-doc' into maint (diff) | |
parent | Merge branch 'maint-1.7.1' into maint-1.7.2 (diff) | |
download | tgif-5501bf854ce6a3847ef0de6f6aa63f6b93e82b67.tar.xz |
Merge branch 'maint-1.7.2' into maint
* maint-1.7.2:
add: introduce add.ignoreerrors synonym for add.ignore-errors
bash: Match lightweight tags in prompt
git-commit.txt: (synopsis): move -i and -o before "--"
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/add.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/add.c b/builtin/add.c index 56a4e0af6b..3a5fca5159 100644 --- a/builtin/add.c +++ b/builtin/add.c @@ -331,7 +331,8 @@ static struct option builtin_add_options[] = { static int add_config(const char *var, const char *value, void *cb) { - if (!strcasecmp(var, "add.ignore-errors")) { + if (!strcasecmp(var, "add.ignoreerrors") || + !strcasecmp(var, "add.ignore-errors")) { ignore_add_errors = git_config_bool(var, value); return 0; } |