On 25 November 2013 14:07, Beman Dawes
On Mon, Nov 25, 2013 at 8:18 AM, Daniel James
wrote: ... just tried:
git clone --recursive -b develop git@github.com:boostorg/boost.git boost-develop
And that worked fine.
I think you're doing a recursive clone of master and then switching to the branch. In which case I think you need to use 'git submodule update --init' to initialise modules on this branch before updating (untested and possibly wrong).
At Dave's suggestion, I tried this last night:
git clone --recursive git@github.com:boostorg/boost.git modular-boost cd modular-boost ... git checkout develop git module update
It worked fine, and that's what I used to run the develop header file verification that worked correctly.
But it was missing sync, wasn't it? That's why I think you need to use 'git module update --init'.
git clone --recursive git@github.com:boostorg/boost.git modular-boost cd modular-boost ./bootstrap.sh ./b2 headers git checkout master git submodule update cd libs/my-lib git checkout develop [...] Is the sequence of commands above what the developer of my-lib should do to get started?
I didn't need 'git checkout master' and 'git submodule update'. The wiki page says the modular-boost repo will be detached, but it wasn't for me (the submodules were).