Hi, On Mon, Nov 5, 2012 at 10:30 PM, Heiko Voigt <hvoigt@xxxxxxxxxx> wrote: > Hi, > > On Mon, Nov 05, 2012 at 05:30:51PM +0100, Francis Moreau wrote: >> I'm wondering why the --init option from git-submodule-update is not >> at least the defaut. Or even wilder, why this option exists at all and >> git-submodule-update always behave like --init was always passed. > > That was a design decision. People may not be interested in all > submodules but just a subset they are working with. E.g. think of a > large media directory as a submodule the developers might not be > interested in having it around all the time because only the designers > are heavily working with it. > Thanks for explaining. Another possible solution was to check if one or several submodules are already checkout. If so then update only them. If none of them is checkout then assume --init is passed and init all of them. Same if a path is passed and this path corresponds to a submodule not checkout yet. -- Francis -- 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