summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-12-03 13:54:11 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-12-03 13:54:11 -0800
commit99292c638a5c011ce453c904357185d9f6c7dd62 (patch)
tree104fca741d5078b3b41f1ecc38951aa34ef4dcf5
parentMerge branch 'jc/maint-am-keep' into maint (diff)
parentbuiltin-merge.c: call exclude_cmds() correctly. (diff)
downloadtgif-99292c638a5c011ce453c904357185d9f6c7dd62.tar.xz
Merge branch 'ap/maint-merge-strategy-list-fix' into maint
* ap/maint-merge-strategy-list-fix: builtin-merge.c: call exclude_cmds() correctly.
-rw-r--r--builtin-merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-merge.c b/builtin-merge.c
index 2871419143..d3eb5092c8 100644
--- a/builtin-merge.c
+++ b/builtin-merge.c
@@ -106,8 +106,8 @@ static struct strategy *get_strategy(const char *name)
found = 1;
if (!found)
add_cmdname(&not_strategies, ent->name, ent->len);
- exclude_cmds(&main_cmds, &not_strategies);
}
+ exclude_cmds(&main_cmds, &not_strategies);
}
if (!is_in_cmdlist(&main_cmds, name) && !is_in_cmdlist(&other_cmds, name)) {
fprintf(stderr, "Could not find merge strategy '%s'.\n", name);