X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=revision.c;h=8d70a6f77a56d4a413e77015258db136f6cb7410;hb=a755dfe45c10ccd9f180d3c267602ad18d127d6a;hp=42c077a4cbc74b99dac516a0d55110892c1a132f;hpb=d2eafb76611670d7573f9409b0c727019fe50e18;p=git.git diff --git a/revision.c b/revision.c index 42c077a4..8d70a6f7 100644 --- a/revision.c +++ b/revision.c @@ -68,9 +68,9 @@ void mark_tree_uninteresting(struct tree *tree) while (entry) { struct tree_entry_list *next = entry->next; if (entry->directory) - mark_tree_uninteresting(entry->item.tree); + mark_tree_uninteresting(lookup_tree(entry->sha1)); else - mark_blob_uninteresting(entry->item.blob); + mark_blob_uninteresting(lookup_blob(entry->sha1)); free(entry); entry = next; }