summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-12-01 16:40:26 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-01 16:40:26 -0800
commit5501bf854ce6a3847ef0de6f6aa63f6b93e82b67 (patch)
tree207af060fbb0f8ce50f93cd1cc8c73d049729ce1 /builtin
parentMerge branch 'jl/maint-pull-tags-doc' into maint (diff)
parentMerge branch 'maint-1.7.1' into maint-1.7.2 (diff)
downloadtgif-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.c3
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;
}