mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
cocci: apply the "commit.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "commit.h". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
cb338c23d6
commit
ecb5091fd4
@@ -506,8 +506,9 @@ void propagate_island_marks(struct commit *commit)
|
||||
struct commit_list *p;
|
||||
struct island_bitmap *root_marks = kh_value(island_marks, pos);
|
||||
|
||||
parse_commit(commit);
|
||||
set_island_marks(&get_commit_tree(commit)->object, root_marks);
|
||||
repo_parse_commit(the_repository, commit);
|
||||
set_island_marks(&repo_get_commit_tree(the_repository, commit)->object,
|
||||
root_marks);
|
||||
for (p = commit->parents; p; p = p->next)
|
||||
set_island_marks(&p->item->object, root_marks);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user