diff options
Diffstat (limited to 'delta-islands.c')
-rw-r--r-- | delta-islands.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/delta-islands.c b/delta-islands.c index afdec0a878..c824a5f6a4 100644 --- a/delta-islands.c +++ b/delta-islands.c @@ -1,8 +1,11 @@ -#include "cache.h" +#include "git-compat-util.h" +#include "alloc.h" #include "attr.h" #include "object.h" #include "blob.h" #include "commit.h" +#include "gettext.h" +#include "hex.h" #include "tag.h" #include "tree.h" #include "delta.h" @@ -506,8 +509,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); } |