]> git.ipfire.org Git - thirdparty/git.git/blobdiff - object-file.c
object-file: remove OBJECT_INFO_IGNORE_LOOSE
[thirdparty/git.git] / object-file.c
index 26290554bb4c5f1d679194fe7d3f2b5c78a273e2..cf724bc19b0394d8b4cc1e6ba9b5f674a0c0886f 100644 (file)
@@ -1575,9 +1575,6 @@ static int do_oid_object_info_extended(struct repository *r,
                if (find_pack_entry(r, real, &e))
                        break;
 
-               if (flags & OBJECT_INFO_IGNORE_LOOSE)
-                       return -1;
-
                /* Most likely it's a loose object. */
                if (!loose_object_info(r, real, oi, flags))
                        return 0;