Re: [PATCH] git-submodule - register module url if adding in place
- From
Mark Levedahl <mlevedahl@gmail.com>
- Date
- Jul 8, 2008, 23:59 UTC
- Message-ID
- <4873FF6E.2020602@gmail.com>
- In-Reply-To
- <alpine.DEB.1.00.0807081332580.4319@eeepc-johanness>
Johannes Schindelin wrote:
Show 17 quoted lines
> I agree with Sylvain here, namely that this is too dangerous. Imagine > this very valid scenario: > > $ git clone <somewhere> abc > $ git submodule add abc > > Bummer. > > Yes, happened to me. > > So I'd like this to be an error, not something that tries to be helpful, > when it clearly cannot be. > > Ciao, > Dscho > >
I think the real issue here is that submodule-add is too flexible and poorly documented, see my response to Junio in the other thread.
Mark