Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-10-18 00:56:35 +0300
committerJunio C Hamano <gitster@pobox.com>2022-10-18 00:56:35 +0300
commita2e618cb0fa76a453f41f2095653190e785f1c66 (patch)
treebeb7a7d3893e1fd2cd3ea506a984015e9a0abda6 /object-file.c
parent2790ba84b6611820caa57fc624304d7ef2efdcdf (diff)
parent301f1e3ac1531dc3a15064a06b24fa98f02a3b78 (diff)
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
Diffstat (limited to 'object-file.c')
-rw-r--r--object-file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/object-file.c b/object-file.c
index 5b270f046d..5e30960234 100644
--- a/object-file.c
+++ b/object-file.c
@@ -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;