From: Thomas Rast Date: Tue, 29 Nov 2011 10:25:41 GMT Subject: Re: Git Submodule Problem - Bug? Message-ID: <201111291125.41943.trast@student.ethz.ch> In-Reply-To: <20111129101546.GB2829@kolya> Fredrik Gustafsson wrote: > > [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