git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC] submodule+shallow clone feature request

From
Avery Pennarun <apenwarr@gmail.com>
Date
Feb 10, 2010, 22:10 UTC
Message-ID
<32541b131002101410j3c256dbeg9aa8bacde99886bb@mail.gmail.com>
In-Reply-To
<4B73277C.9010801@columbia.edu>
On Wed, Feb 10, 2010 at 4:39 PM, Schuyler Duveen <sky@columbia.edu> wrote:
> 2. Some way to specify an override on .gitmodules sources.  This is
> because our .gitmodules includes public, read-only sources (github),
> rather than our local repos we would prefer to deploy from (for the
> purpose of reliability).

You can already override this by editing .git/config after running 'git submodule init'. Of course, doing so precludes using --recursive in "git clone."

> I'm not well-versed in the git source code yet, but poking around
> suggests that this is doable.  Would a patch be well received (or does
> someone want to do it for me :-)

The git-submodule stuff is rarely maintained. I expect patches that improve it will meet with generally positive response, but it's somewhat unlikely that anyone will write them for you.

Have fun,
Avery
Previous: Schuyler DuveenNext: Junio C Hamano
Message 2 of 8 in “[RFC] submodule+shallow clone feature request”
  1. Schuyler DuveenFeb 10, 2010
  2. Avery PennarunFeb 10, 2010
  3. Junio C HamanoFeb 10, 2010
  4. Johannes SchindelinFeb 10, 2010
  5. Junio C HamanoFeb 10, 2010
  6. Johannes SchindelinFeb 10, 2010
  7. Re* [RFC] submodule+shallow clone feature requestJunio C Hamano, Feb 11, 2010
  8. Peter HuttererFeb 11, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.