From: Mark Levedahl Date: Fri, 26 Feb 2010 02:03:50 GMT Subject: Re: [PATCH] submodule: Improve handling of relative submodule URLs. Message-ID: <4B872C06.50502@gmail.com> In-Reply-To: <1267126109-14638-1-git-send-email-jacob.helwig@gmail.com> On 02/25/2010 02:28 PM, Jacob Helwig wrote: > Relative URLs only worked with:/// style URLs, and > would break when cloning a repository using@: (scp) > style "URL"s. > > When a submodule's URL was set to "../submodule.git", and the repository > using it was cloned from "git@example.com:repo.git", git would try to > clone the submodule from "git@example.com:repo.git/submodule.git", which > would not likely work. > My solution for this has been to always give the full path, possibly using ~ e.g., git@example.com:~/repo.git and as that works fine, I'm indifferent to this proposed change. Mark