Skip to content

Commit

Permalink
Merge branch 'ap/maint-merge-strategy-list-fix' into maint
Browse files Browse the repository at this point in the history
* ap/maint-merge-strategy-list-fix:
  builtin-merge.c: call exclude_cmds() correctly.
  • Loading branch information
Junio C Hamano committed Dec 3, 2009
2 parents 78b77c4 + ed87465 commit 99292c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-merge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 99292c6

Please sign in to comment.