fetch-object: make functions return an error code
[gitweb.git] / sha1-file.c
index 888b6024d5de050753765e37b65ea0521d91f9fd..819d32cdb8dbe6d2adddb1b4b69a1639db594471 100644 (file)
@@ -1381,8 +1381,8 @@ int oid_object_info_extended(struct repository *r, const struct object_id *oid,
                    !already_retried && r == the_repository &&
                    !(flags & OBJECT_INFO_SKIP_FETCH_OBJECT)) {
                        /*
-                        * TODO Investigate having fetch_object() return
-                        * TODO error/success and stopping the music here.
+                        * TODO Investigate checking fetch_object() return
+                        * TODO value and stopping on error here.
                         * TODO Pass a repository struct through fetch_object,
                         * such that arbitrary repositories work.
                         */