Re: [PATCH 9/9] fetch: try fetching submodules if needed objects were not fetched

2018-12-04 Thread Jonathan Tan
> Try fetching a submodule by object id if the object id that the > superproject points to, cannot be found. Mention here the consequences of what happens when this attempt to fetch fails. Also, this seems to be a case of "do or do not, there is no try" - maybe it's better to say "Fetch commits

[PATCH 9/9] fetch: try fetching submodules if needed objects were not fetched

2018-11-28 Thread Stefan Beller
Currently when git-fetch is asked to recurse into submodules, it dispatches a plain "git-fetch -C " (with some submodule related options such as prefix and recusing strategy, but) without any information of the remote or the tip that should be fetched. But this default fetch is not sufficient, as