Re: [PATCH 8/9] fetch: retry fetching submodules if sha1 were not fetched

2018-09-12 Thread Junio C Hamano
Stefan Beller writes: > Retry fetching a submodule if the object id that the superproject points > to, cannot be found. By object name? By attempting to fetch all refs? Or by doing something else? Fetching by the exact object name is the most efficient approach, but the server side may not

[PATCH 8/9] fetch: retry fetching submodules if sha1 were not fetched

2018-09-11 Thread Stefan Beller
Currently when git-fetch is asked to recurse into submodules, it dispatches a plain "git-fetch -C " (and some submodule related options such as prefix and recusing strategy, but) without any information of the remote or the tip that should be fetched. This works surprisingly well in some