]> git.ipfire.org Git - thirdparty/git.git/commit - submodule.c
fetch: emphasize failure during submodule fetch
authorEmily Shaffer <emilyshaffer@google.com>
Thu, 16 Jan 2020 22:20:12 +0000 (14:20 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Jan 2020 20:05:58 +0000 (12:05 -0800)
commit0222540827ae7bf6d7be8612b056f267346beddc
tree2e98ec57cc635cebf0ce91bd477b00584e6edf06
parentd0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783
fetch: emphasize failure during submodule fetch

In cases when a submodule fetch fails when there are many submodules, the error
from the lone failing submodule fetch is buried under activity on the other
submodules if more than one fetch fell back on fetch-by-oid. Call out a failure
late so the user is aware that something went wrong, and where.

Because fetch_finish() is only called synchronously by
run_processes_parallel, mutexing is not required around
submodules_with_errors.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c