Boost logo

Boost :

Subject: Re: [boost] [Boost.Sync] no master branch?
From: Tim Blechmann (tim_at_[hidden])
Date: 2014-01-15 13:57:57


>> I discovered this anomaly by trying to check out
>> every repo in the master branch with this git command:
>>
>>> git submodule foreach git checkout master
>>
>> That command fails today because of sync.
>
> It shouldn't, sync isn't a submodule of the master branch. Try using
> 'git submodule update --init'.

not sure if this will work: especially a user could have modifications
to the submodule, but re-initializing all submodules to the state that
the supermodule expects will require git to remove the submodule. i'm
pretty sure that git will not like (read reject) this.

in my personal experience, git submodules are references that one rarely
wants to change and never wants to remove from the working copy, though
the situation may have improved these days.

an empty master branch may be a workaround, though.

tim


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk