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

Re: Why are submodules not automatically handled by default or at least configurable to do so?

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 26, 2015, 19:53 UTC
Message-ID
<xmqqoaflh0ef.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAGZ79kb2kStk0+MqUXREH3g+rqbsXoNiTGj=4SxJ4vOR8TqEcA@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 6 quoted lines
> IIUC at the time submodules were invented, there was need for lots of
> code to be written.
> Each command needed new code to deal with submodules. As there was not
> enough people/time
> to do it properly, the "do nothing" was the safest action which could
> be added fast.

That is quite different from how I remember. Soon after Linus and I added the Gitlink in early Apr 20007, an early subproject/gitlink (thought) experiment was started with help from folks like Steven Grimm, Jan Hudec, Petr Baudis, Alex Riesen etc. The first principle of the design throughout that era was "we admit that we do not know all the use cases, so let's start small and solid and make sure that small-and-solid thing can later be enhanced as people discover the way how they want to work" (you can see me expressing that sentiment in $gmane/48287, for example).

So it wasn't "not enough people to do it properly" at all. It was "we admit that we do not know what is proper, so we defer to actual users to define what is proper for them".

Previous: Stefan BellerNext: Nazri Ramliy
Message 4 of 11 in “Why are submodules not automatically handled by default or at least configurable to do so?”
  1. John SmithOct 25, 2015
  2. Chris PackhamOct 26, 2015
  3. Stefan BellerOct 26, 2015
  4. Junio C HamanoOct 26, 2015
  5. Nazri RamliyOct 26, 2015
  6. Jens LehmannOct 26, 2015
  7. Nazri RamliyOct 28, 2015
  8. NickOct 27, 2015
  9. Davide FiorentinoOct 27, 2015
  10. NickOct 27, 2015
  11. Konstantin KhomoutovOct 27, 2015

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.