This patch series replaces all absolute paths pointing from submodule work trees to its gitdir and back with relative paths as discussed in $gmane/187785. The motivation is to make superprojects movable again. They lost this ability with the move of the git directory of submodules into the .git/modules directory of the superproject. While fixing that a bug which would hit when moving the submodule inside the superproject was also fixed. Jens Lehmann (2): submodules: always use a relative path to gitdir submodules: always use a relative path from gitdir to work tree git-submodule.sh | 23 ++++++++++++++++------- t/t7400-submodule-basic.sh | 22 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 7 deletions(-) -- 1.7.9.190.gb17a42.dirty -- 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