diff options
author | Christian Couder <christian.couder@gmail.com> | 2019-06-25 15:40:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-25 14:05:37 -0700 |
commit | 2e860675b6572cf476e99888134a5b307fd7eb62 (patch) | |
tree | 6124c53def1e39c5e43af320984850ab17741367 /fetch-object.h | |
parent | t0410: remove pipes after git commands (diff) | |
download | tgif-2e860675b6572cf476e99888134a5b307fd7eb62.tar.xz |
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>
Diffstat (limited to 'fetch-object.h')
-rw-r--r-- | fetch-object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fetch-object.h b/fetch-object.h index d6444caa5a..7bcc7cadb0 100644 --- a/fetch-object.h +++ b/fetch-object.h @@ -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 |