[PATCH v1 1/8] fetch-object: make functions return an error code

2018-12-10 Thread Christian Couder
From: Christian Couder 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 Signed-off-by: Junio C Hamano --- fetch-object.c | 13 - fetch-object.h | 4 ++-- sha1-file.c| 4 +

Re: [PATCH v1 1/8] fetch-object: make functions return an error code

2018-05-14 Thread Junio C Hamano
Christian Couder writes: > 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 > --- > fetch-object.c | 15 +-- > fetch-object.h | 6 +++--- > sha1-file.c| 4 ++-- > 3 f

[PATCH v1 1/8] fetch-object: make functions return an error code

2018-05-13 Thread Christian Couder
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 --- fetch-object.c | 15 +-- fetch-object.h | 6 +++--- sha1-file.c| 4 ++-- 3 files changed, 14 insertions(+), 11 deletions