rebase -i: also expand/collapse the SHA-1s via the rebase--helper
[gitweb.git] / list-objects.c
index f3ca6aafb799eadc6255d61711d0aba8cb516463..b3931fa434dc99a481569697585e3bb21190c932 100644 (file)
@@ -110,7 +110,7 @@ static void process_tree(struct rev_info *revs,
 
                if (S_ISDIR(entry.mode))
                        process_tree(revs,
-                                    lookup_tree(entry.oid->hash),
+                                    lookup_tree(entry.oid),
                                     show, base, entry.path,
                                     cb_data);
                else if (S_ISGITLINK(entry.mode))
@@ -119,7 +119,7 @@ static void process_tree(struct rev_info *revs,
                                        cb_data);
                else
                        process_blob(revs,
-                                    lookup_blob(entry.oid->hash),
+                                    lookup_blob(entry.oid),
                                     show, base, entry.path,
                                     cb_data);
        }