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. Tests that rely on .git being a directory have been fixed. This is the forth iteration of this patchseries. The first can be found here: http://thread.gmane.org/gmane.comp.version-control.git/177582 The second can be found here: http://thread.gmane.org/gmane.comp.version-control.git/178970/focus=179153 The third can be found here: http://thread.gmane.org/gmane.comp.version-control.git/179243/focus=179244 Fredrik Gustafsson (2): rev-parse: add option --resolve-git-dir <path> Move git-dir for submodules Documentation/git-rev-parse.txt | 4 ++ builtin/rev-parse.c | 8 +++ cache.h | 1 + git-submodule.sh | 49 ++++++++++++++++-- setup.c | 7 +++ t/t7400-submodule-basic.sh | 4 +- t/t7403-submodule-sync.sh | 5 +- t/t7406-submodule-update.sh | 107 +++++++++++++++++++++++++++++++++++++++ t/t7407-submodule-foreach.sh | 103 +++++++++++++++++++------------------ t/t7408-submodule-reference.sh | 4 +- 10 files changed, 231 insertions(+), 61 deletions(-) -- 1.7.6.398.gb3f84 -- 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