Merge branch 'request/relative_submodules' into 'master'
Add support for relative submodules Currently there is no support for submodules where the url starts with ./ or ../, it will fail with an Routing Error. This is required is you don't want to force a submodule to ssh or http usage. For a given Repository __http://server/group/root.git__ --- [submodule "sub1"] path = sub1 url = ../submodule.git Wrong: http://server/group/ __root__ /submodule.git Correct: http://server/group/submodule.git --- [submodule "sub2"] path = sub2 url = ../../any/submodule.git Wrong: http://server/ __group/any__ /submodule.git Corrent: http://server/any/submodule.git
Showing
app/helpers/submodule_helper.rb
100644 → 100755
Please register or sign in to comment