Re: [RFC] Fourth round of support for cloning submodules
- From
- Sven Verdoolaege <skimo@kotnet.org>
- Date
- May 24, 2007, 07:36 UTC
- Message-ID
- <20070524073652.GH942MdfPADPa@greensroom.kotnet.org>
- In-Reply-To
- <20070524072945.GO28023@spearce.org>
On Thu, May 24, 2007 at 03:29:45AM -0400, Shawn O. Pearce wrote:
> Why? Their configuration is their configuration. Who knows what > they have stored there. Look at the recent cvsserver config options, > there's now a lot of information about the SQL database that backs > cvsserver. That stuff shouldn't be public.
For http:// or rsync:// it's public already; for ssh://, if you are allowed to access the git repo, you can read the config as well; for git://, we can dump a predefined selection of configuration variables.
> If you want to publish something for a client to fetch, it should > be done by publishing a Git object referenced by a proper ref: > blob, tree, commit, tag, take your pick.
You mean like a tag "submodules" that points to a text file describing the submodules? That's a bit of a pain to set up since you would want that to be independent of your project.
skimo