X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=http-push.c;h=f492a5d36678a996ff2c665cacc8cfc69eb10f6f;hb=a755dfe45c10ccd9f180d3c267602ad18d127d6a;hp=b4327d92438d9596b7286ead06152ad3156b6e2c;hpb=d2eafb76611670d7573f9409b0c727019fe50e18;p=git.git diff --git a/http-push.c b/http-push.c index b4327d92..f492a5d3 100644 --- a/http-push.c +++ b/http-push.c @@ -1733,9 +1733,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; }