subtree: add build targets 'man' and 'html'
[gitweb.git] / sha1-file.c
index d85f4e93e1feb6843d61517b90acd8135ec526f7..a4367b8f044c6e9254d2a253149187bdb2be6dd2 100644 (file)
@@ -1317,7 +1317,7 @@ int oid_object_info_extended(struct repository *r, const struct object_id *oid,
                         * TODO Pass a repository struct through fetch_object,
                         * such that arbitrary repositories work.
                         */
-                       fetch_object(repository_format_partial_clone, real->hash);
+                       fetch_objects(repository_format_partial_clone, real, 1);
                        already_retried = 1;
                        continue;
                }