As reported by Andrei Thorp <garoth@xxxxxxxxx>, git submodule add does not work with paths containing './'. This series exposes the problem with tests and fixes it. (For details see the commit messages.) On a side note: There were no tests at all so far for git submodule add. Now there are at least two, but there should be more, especially for adding repos in place and such. v2 adds 2 more tests for paths with // and /.. and helps g sm add pass the tests. Michael J Gruber (4): git submodule: Add test cases for git submodule add git submodule: Fix adding of submodules at paths with ./ git submodule: Add more tests for add with funky paths git submodule: Fix handling of // and /.. in paths for added submodules git-submodule.sh | 9 +++++++++ t/t7400-submodule-basic.sh | 29 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 0 deletions(-) -- 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