Subject: Re: [Boost-build] Git directory structure
From: Dave Abrahams (dave_at_[hidden])
Date: 2013-12-08 23:37:47
Vladimir Prus <ghost_at_[hidden]> writes:
> On 09.12.2013 01:51, Dave Abrahams wrote:
>> Vladimir Prus <vladimir_at_[hidden]> writes:
>>> It seems that after all is said and done, git repository for
>>> Boost.Build still features that 'v2' directory at the top. How do we
>>> recover this from this? I suppose I can run make a backup copy of
>>> current 'master' and 'develop' branches, 'git filter-branch' on master
>>> and develop with appropriate voodoo, then 'git push -f'. Does that
>>> seems OK in principle?
>> Do _not_ rewrite history, or you will mess up the submodule references
>> in the super-project.
> It is trivial to update submodule references.
...which would require rewriting history in the super-project, which is
in general not something one should ever do in a public repository.
Since the Boost repositories have gone live, rewriting history is a
no-no. I don't know if there's an option at GitHub to prevent history
rewriting in the official repositories, but if there is, it should be
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk