Fredrik Gustafsson <iveqy@xxxxxxxxx> writes: > Move git-dir for submodules into $GIT_DIR/modules/[name_of_submodule] of > the superproject. This is a step towards being able to delete submodule > directories without loosing the information from their .git directory > as that is now stored outside the submodules work tree. > > This is done relying on the already existent .git-file functionality. > When adding or updating a submodule whose git directory is found under > $GIT_DIR/modules/[name_of_submodule], don't clone it again but simply > point the .git-file to it and remove the now stale index file from it. And the index is populated to match the correct commit how? > Tests that rely on .git being a directory have been fixed. Thanks. How would this interact with submodule repositories that are already initialized in-place? -- 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