Re: [PATCH] submodule: explain first attempt failure clearly

2019-03-12 Thread Junio C Hamano
Jonathan Tan writes: > When cloning with --recurse-submodules a superproject with at least one > submodule with HEAD pointing to an unborn branch, the clone goes > something like this: > > Cloning into 'test'... > > Submodule '' () registered for path '' > Cloning into ''

[PATCH] submodule: explain first attempt failure clearly

2019-03-12 Thread Jonathan Tan
When cloning with --recurse-submodules a superproject with at least one submodule with HEAD pointing to an unborn branch, the clone goes something like this: Cloning into 'test'... Submodule '' () registered for path '' Cloning into ''... fatal: Couldn't fi