fetch-object: make functions return an error code
The callers of the fetch_object() and fetch_objects() might be interested in knowing if these functions succeeded or not. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
c59c7c879e
commit
2e860675b6
@@ -3,7 +3,7 @@
|
||||
|
||||
struct object_id;
|
||||
|
||||
void fetch_objects(const char *remote_name, const struct object_id *oids,
|
||||
int oid_nr);
|
||||
int fetch_objects(const char *remote_name, const struct object_id *oids,
|
||||
int oid_nr);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user