Re: serving git with both "git:" and "http:" and submodules

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

 



Boaz Harrosh:

[submodule "sub"]
       url = git://my-domain.org/my-tree/sub/.git

So my question is: Can I automate this so people with "http:" clones are not forced to manually edit their config files?

You should be able to use a relative URL in .gitmodules, something like this should work:

[submodule "sub"]
       url = ../sub/.git

--
\\// Peter - http://www.softwolves.pp.se/
--
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]