]> git.ipfire.org Git - thirdparty/git.git/blobdiff - promisor-remote.h
bundle-uri client: add helper for testing server
[thirdparty/git.git] / promisor-remote.h
index edc45ab0f5fdcd8c4145aa1c81eb3346f2eeeda9..df36eb08efc2e194b6fc4f770235fb9707770de6 100644 (file)
@@ -39,13 +39,12 @@ static inline int has_promisor_remote(void)
 
 /*
  * Fetches all requested objects from all promisor remotes, trying them one at
- * a time until all objects are fetched. Returns 0 upon success, and non-zero
- * otherwise.
+ * a time until all objects are fetched.
  *
- * If oid_nr is 0, this function returns 0 (success) immediately.
+ * If oid_nr is 0, this function returns immediately.
  */
-int promisor_remote_get_direct(struct repository *repo,
-                              const struct object_id *oids,
-                              int oid_nr);
+void promisor_remote_get_direct(struct repository *repo,
+                               const struct object_id *oids,
+                               int oid_nr);
 
 #endif /* PROMISOR_REMOTE_H */