]> git.ipfire.org Git - thirdparty/git.git/blobdiff - revision.c
cache: convert struct cache_entry to use struct object_id
[thirdparty/git.git] / revision.c
index 8a29cb03c51be119589a763b170809b8208e1857..969b3d149f2327a00b159e17fa7f63005aa90dff 100644 (file)
@@ -1275,7 +1275,7 @@ void add_index_objects_to_pending(struct rev_info *revs, unsigned flags)
                if (S_ISGITLINK(ce->ce_mode))
                        continue;
 
-               blob = lookup_blob(ce->sha1);
+               blob = lookup_blob(ce->oid.hash);
                if (!blob)
                        die("unable to add index blob to traversal");
                add_pending_object_with_path(revs, &blob->object, "",