Christian Couder <christian.cou...@gmail.com> 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 <chrisc...@tuxfamily.org> > --- > fetch-object.c | 15 +++++++++------ > fetch-object.h | 6 +++--- > sha1-file.c | 4 ++-- > 3 files changed, 14 insertions(+), 11 deletions(-)
"might", but nobody pays attention to the return value, as the local availablity of the object at the end is the only thing that matters, so at this step, it is not all that impactful a change. Let's see how it plays out. > /* > - * TODO Investigate haveing fetch_object() return > - * TODO error/success and stopping the music here. > + * TODO Investigate checking fetch_object() return > + * TODO value and stopping on error here. > */ > fetch_object(repository_format_partial_clone, > real->hash); > already_retried = 1;