diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2023-03-28 15:58:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-28 16:36:45 +0200 |
commit | ecb5091fd4301ac647db0bd2504112b38f7ee06d (patch) | |
tree | 3b068d4dae3a26444da0fa32e8efa700a50deab6 /delta-islands.c | |
parent | cocci: apply the "commit-reach.h" part of "the_repository.pending" (diff) | |
download | git-ecb5091fd4301ac647db0bd2504112b38f7ee06d.tar.xz git-ecb5091fd4301ac647db0bd2504112b38f7ee06d.zip |
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>
Diffstat (limited to 'delta-islands.c')
-rw-r--r-- | delta-islands.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/delta-islands.c b/delta-islands.c index afdec0a878..05448851ad 100644 --- a/delta-islands.c +++ b/delta-islands.c @@ -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); } |