Re: Git Submodule Problem - Bug?
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Nov 29, 2011, 10:25 UTC
- Message-ID
- <201111291125.41943.trast@student.ethz.ch>
- In-Reply-To
- <20111129101546.GB2829@kolya>
Fredrik Gustafsson wrote:
Show 11 quoted lines
> > [removing a submodule and adding another under the same name > > confuses git] > > This is something I did not thought about when writing that patch. The > reason that this fails is that the part when the first submodule is > removed is no longer complete (as intended). Before this patch > git config --remove-section submodule.sub && > git rm .gitmodules && > rm -rf sub && > Did remove all the data associated with the submodule. That's no longer > the case.
So maybe the right questions to ask would be: what's the *official* way of removing a submodule completely? Do we support overwriting submodules in the way Manuel wanted to? Why not? :-)
--
Thomas Rast
trast@{inf,student}.ethz.ch