Boost logo

Boost :

Subject: Re: [boost] Post-git forking process
From: Nathan Crookston (nathan.crookston_at_[hidden])
Date: 2013-11-22 20:15:30


Klaim - Joël Lamotte wrote:
> Nathan Crookston wrote:
>> 3. Edit .gitmodules and change all the relative URLs to absolute, SSH
>> or HTTPS (whichever kind you or your company firewall likes).
>> - I ran `:%s/\.\./https:\/\/\/boostorg\/utility.git/g` in
>> vim to use https.
> By the way, what was the benefit of using relative paths for submodules?
> Also, isn't there a git command to automatically get the full paths?

There was a thread a few days ago where it was decided to use relative
paths to avoid needing to know whether the user wanted SSH or HTTPS.
It was feared that different companies would have different
restrictions, requiring everyone to either edit their .gitmodules
file, or use the insteadOf submodule modifier.

I was hoping we could simplify the instructions by using instead of to
sub an absolute path for a relative one:

git config url."".insteadOf .. (and many
other incantations)

No luck so far :(

If we could then you only have to change the URL for those you've cloned.

I'm not sure I understand your last question. I assume you mean
automatically get the full paths for the submodule repositories. At
which point? When updating submodules?


Boost list run by bdawes at, gregod at, cpdaniel at, john at