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

Re: [RFC] git-submodule: multiple-level modules definition

From
Ping Yin <pkufranky@gmail.com>
Date
Mar 3, 2008, 11:02 UTC
Message-ID
<46dff0320803030302t286c33a5h3555200c9e8840e3@mail.gmail.com>
In-Reply-To
<8c5c35580803022257n7ff0cdc3i1e72a0034d254aa4@mail.gmail.com>
On Mon, Mar 3, 2008 at 2:57 PM, Lars Hjemli <hjemli@gmail.com> wrote:
Show 9 quoted lines
> On Mon, Mar 3, 2008 at 2:47 AM, Ping Yin <pkufranky@gmail.com> wrote:
>  >  But why always
>  >  use git init even when we don't have the local configuration
>  >  requirement?
>
>  We need a way to tell git which of those submodules we are interested
>  in, i.e. which submodules to clone/fetch during 'git submodule
>  update'.
>

Now that's easy with the multiple level module definition. We can now group our modules by hierachy and designate modules we are interested by logical names such as crawler or search as my proposal has mentioned.

And if there are not a logical module name satisfying our requirement, we can define one by ourself in .git/config (if it's a special or temporary requirement) or in .gitmodules (if it's a common requirement).

Now .git/config and .gitmodules will play the same as .git/info/exclude and .gitignore.

>  --
>  larsh
>
-- 
Ping Yin
Previous: Lars HjemliNext: Lars Hjemli
Message 5 of 8 in “[RFC] git-submodule: multiple-level modules definition”
  1. Ping YinMar 2, 2008
  2. Lars HjemliMar 2, 2008
  3. Ping YinMar 3, 2008
  4. Lars HjemliMar 3, 2008
  5. Ping YinMar 3, 2008
  6. Lars HjemliMar 3, 2008
  7. Ping YinMar 3, 2008
  8. Ping YinMar 4, 2008

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.