submodule--helper: initial clone learns retry logic
authorStefan Beller <sbeller@google.com>
Fri, 10 Jun 2016 00:35:36 +0000 (17:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Jun 2016 17:28:38 +0000 (10:28 -0700)
commit665b35eccd39fefd714cb5c332277a6b94fd9386
tree1b72edc6b339b4b41d88c19f15ce354e6491848e
parentabed000acafd8aa86e02bcbb65fc1a8e4f06b8a0
submodule--helper: initial clone learns retry logic

Each submodule that is attempted to be cloned, will be retried once in
case of failure after all other submodules were cloned. This helps to
mitigate ephemeral server failures and increases chances of a reliable
clone of a repo with hundreds of submodules immensely.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c