fetch-object: make functions return an error code
commit2e860675b6572cf476e99888134a5b307fd7eb62
authorChristian Couder <christian.couder@gmail.com>
Tue, 25 Jun 2019 13:40:26 +0000 (25 15:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Jun 2019 21:05:37 +0000 (25 14:05 -0700)
tree6124c53def1e39c5e43af320984850ab17741367
parentc59c7c879ef60b2b0d0b050982712c53ec4d0680
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>
fetch-object.c
fetch-object.h
sha1-file.c