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

Re: RFC: submodule terminology

From
Johan Herland <johan@herland.net>
Date
May 20, 2007, 22:06 UTC
Message-ID
<200705210006.47266.johan@herland.net>
In-Reply-To
<20070520214417.GM5412@admingilde.org>
On Sunday 20 May 2007, Martin Waitz wrote:
Show 11 quoted lines
> hoi :)
> 
> I think we should agree to one name for what currently is named
> submodule / subproject / dirlink / gitlink.
> 
> Or use one name for the low-level plumbing (have a tree entry
> which points to another commit): dirlink or gitlink and another
> one for the high-level UI think: submodule or subproject.
> But then we should use those names consequently.
> 
> Oppinions?

For the high-level concept, "subproject" seems to me the best alternative. I think it is much better than "submodule" at describing that the subproject is a stand-alone project/repo in itself.

As for the low-level concept, I personally prefer "gitlink", but I don't have any strong feelings. The fact that "gitlink" seems to already be used in the code (as in resolve_gitlink_ref() etc.), coupled with "dirlink" being somewhat ambiguous (i.e. may also be interpreted as "(sym)link to directory") makes the case for me.

Have fun!
...Johan
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Martin WaitzNext: Junio C Hamano
Message 2 of 10 in “RFC: submodule terminology”
  1. Martin WaitzMay 20, 2007
  2. Johan HerlandMay 20, 2007
  3. Junio C HamanoMay 20, 2007
  4. Johan HerlandMay 20, 2007
  5. Raimund BauerMay 21, 2007
  6. Shawn O. PearceMay 21, 2007
  7. Martin WaitzMay 20, 2007
  8. Johan HerlandMay 20, 2007
  9. Martin WaitzMay 20, 2007
  10. Eric LeshMay 21, 2007

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.