Re: [RFC] Fourth round of support for cloning submodules
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 25, 2007, 14:51 UTC
- Message-ID
- <Pine.LNX.4.64.0705251548390.4648@racer.site>
- In-Reply-To
- <20070525143815.GF942MdfPADPa@greensroom.kotnet.org>
Hi,
On Fri, 25 May 2007, Sven Verdoolaege wrote:
Show 9 quoted lines
> On Fri, May 25, 2007 at 03:16:56PM +0100, Johannes Schindelin wrote: > > And the point about my config being private still stands. You have no > > business looking into my config. > > Put your private configuration in config and your public configuration > in submodulesconfig. > A public repo typically wouldn't have any submodules configuration > in config (or any other private information for that matter), but > we wouldn't read it anyway.
Why complicate things? The information you want to put into submodulesconfig is an information you would most likely want to give cloners.
And as it happens, we _have_ a perfect transport mechanism for clones. You only have to put the information into the object database itself, and -- voila -- no need to change any core level plumbing.
That's why I keep harping on .gitmodules, since it _is_ the obvious correct, simple and elegant way to do things here.
So, just "s/\.git\/submodulesconfig/.gitmodules/g" in your head, and you're done.
Ciao, Dscho