Permalink
Browse files

commit.c: use clear_commit_marks_many() in in_merge_bases_many()

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information...
1 parent 4c4b27e commit 557899ff6b4093ebffba71e916f7241b36b59068 @gitster gitster committed Mar 5, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 commit.c
View
@@ -876,8 +876,7 @@ int in_merge_bases_many(struct commit *commit, int nr_reference, struct commit *
if (commit->object.flags & PARENT2)
ret = 1;
clear_commit_marks(commit, all_flags);
- for (i = 0; i < nr_reference; i++)
- clear_commit_marks(reference[i], all_flags);
+ clear_commit_marks_many(nr_reference, reference, all_flags);
free_commit_list(bases);
return ret;
}

0 comments on commit 557899f

Please sign in to comment.