Marc Branchaud <marcnarc@xxxxxxxxxxx> writes: >> After that "clone" or "init" creates a repository, you still have to >> "add" if you want to make it a submodule to the toplevel. > > To me it makes more sense to move the .git directory when the user invokes > "git submodule add" instead of creating it in an unusual place when the > sub-repo is cloned. After all, git can't *know* that it'll be a submodule > until it's submodule-added to the super-repo. It does not relieve "git add" (or "git submodulea add") from the responsibility of moving .git directory. It only reduces the need to do so. When the user says "add" and the repository has .git directory in it, "add" (or "submodule add") is still responsible for relocating it. -- 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