Skip to content

Commit 22c4e72

Browse files
committed
Merge branch 'ap/maint-merge-strategy-list-fix'
2 parents 684d0d8 + ed87465 commit 22c4e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-merge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ static struct strategy *get_strategy(const char *name)
107107
found = 1;
108108
if (!found)
109109
add_cmdname(&not_strategies, ent->name, ent->len);
110-
exclude_cmds(&main_cmds, &not_strategies);
111110
}
111+
exclude_cmds(&main_cmds, &not_strategies);
112112
}
113113
if (!is_in_cmdlist(&main_cmds, name) && !is_in_cmdlist(&other_cmds, name)) {
114114
fprintf(stderr, "Could not find merge strategy '%s'.\n", name);

0 commit comments

Comments
 (0)