Merge branch 'jt/promisor-remote-fetch-tweak'
Remove error detection from a function that fetches from promisor remotes, and make it die when such a fetch fails to bring all the requested objects, to give an early failure to various operations. * jt/promisor-remote-fetch-tweak: promisor-remote: die upon failing fetch promisor-remote: remove a return value
This commit is contained in:
@ -1599,10 +1599,6 @@ static int do_oid_object_info_extended(struct repository *r,
|
||||
if (fetch_if_missing && repo_has_promisor_remote(r) &&
|
||||
!already_retried &&
|
||||
!(flags & OBJECT_INFO_SKIP_FETCH_OBJECT)) {
|
||||
/*
|
||||
* TODO Investigate checking promisor_remote_get_direct()
|
||||
* TODO return value and stopping on error here.
|
||||
*/
|
||||
promisor_remote_get_direct(r, real, 1);
|
||||
already_retried = 1;
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user