remote: add promisor and partial clone config to the doc
[gitweb.git] / fetch-object.h
index d2f996d4e8c79c7bde78780dad5ad543910fcc29..7bcc7cadb0c4ac4b31935c8335d2d84f8e548114 100644 (file)
@@ -1,7 +1,9 @@
 #ifndef FETCH_OBJECT_H
 #define FETCH_OBJECT_H
 
-void fetch_objects(const char *remote_name, const struct object_id *oids,
-                  int oid_nr);
+struct object_id;
+
+int fetch_objects(const char *remote_name, const struct object_id *oids,
+                 int oid_nr);
 
 #endif