Re: [PATCH] submodule: Improve handling of relative submodule URLs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/25/2010 02:28 PM, Jacob Helwig wrote:
Relative URLs only worked with<proto>://<host>/<location>  style URLs, and
would break when cloning a repository using<user>@<host>:<location>  (scp)
style "URL"s.

When a submodule's URL was set to "../submodule.git", and the repository
using it was cloned from "git@xxxxxxxxxxx:repo.git", git would try to
clone the submodule from "git@xxxxxxxxxxx: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@xxxxxxxxxxx:~/repo.git

and as that works fine, I'm indifferent to this proposed change.

Mark
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]