X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=builtin-rev-list.c;h=94f520b908402ffd6468cc15f894d7a9d56ebbf7;hb=a755dfe45c10ccd9f180d3c267602ad18d127d6a;hp=72c1549c701f24dc46eaf920fdcb73f822cf5cda;hpb=d2eafb76611670d7573f9409b0c727019fe50e18;p=git.git diff --git a/builtin-rev-list.c b/builtin-rev-list.c index 72c1549c..94f520b9 100644 --- a/builtin-rev-list.c +++ b/builtin-rev-list.c @@ -133,9 +133,9 @@ static struct object_list **process_tree(struct tree *tree, while (entry) { struct tree_entry_list *next = entry->next; if (entry->directory) - p = process_tree(entry->item.tree, p, &me, entry->name); + p = process_tree(lookup_tree(entry->sha1), p, &me, entry->name); else - p = process_blob(entry->item.blob, p, &me, entry->name); + p = process_blob(lookup_blob(entry->sha1), p, &me, entry->name); free(entry); entry = next; }