"W. Trevor King" <wking@xxxxxxxxxx> writes: >> And wouldn't it make it unnecessary to have a new "re-attach" option >> if such a mode that never have to detach is used? > > I think so, but we currently don't have a "never detached" route for > folks that are cloning submodules via update (instead of via > 'submodule add'). Currently, new clone-updates will always leave you > with a detached HEAD (unless you have branch-creation in your update > !command). My patch aims to close this detached-HEAD gap, for folks > we expect will be doing local development, by creating an initial > branch at clone-update time. I am not a submodule expert so I may be missing some other gaps, but what your change does sounds sensible to me. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html