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

Re: RFC/Discussion - Submodule UX Improvements

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 20, 2021, 23:30 UTC
Message-ID
<xmqq1rb4355h.fsf@gitster.g>
In-Reply-To
<YH9drebF84mx2t5r@google.com>
Emily Shaffer <emilyshaffer@google.com> writes:
Show 6 quoted lines
> This is actually a point we discussed internally and I cut out of the
> doc before sharing, because it is very far down our roadmap (not
> expecting to address until probably the second half of the year). As I
> understand it, this can also be achieved today by setting
> 'submodule.path/to/module.active = false' in the superproject's
> .git/config.

Yeah, I think we also added support to choose which submodules can be "active" based on the attributes system.

Three are many ways to apply band-aid to a tree that should have been a monolithic single repository but has been split into many submodules only because we historically did not scale well. As you meantioned, sparse-checkout and lazy/partial cloning may change the picture drastically, not just "sparse" may allow such an "a set of artificially split out submodules" to be selectively populated, but more directly clone and work with only the parts you are interested in a monolithic repository.

Previous: Emily ShafferNext: Philippe Blain
Message 6 of 18 in “RFC/Discussion - Submodule UX Improvements”
  1. Emily ShafferApr 16, 2021
  2. Christian CouderApr 18, 2021
  3. Emily ShafferApr 20, 2021
  4. Philippe BlainApr 19, 2021
  5. Emily ShafferApr 20, 2021
  6. Junio C HamanoApr 20, 2021
  7. Philippe BlainApr 21, 2021
  8. Randall S. BeckerApr 19, 2021
  9. Aaron SchrabApr 19, 2021
  10. Emily ShafferApr 20, 2021
  11. Randall S. BeckerApr 20, 2021
  12. Jacob KellerApr 19, 2021
  13. Randall S. BeckerApr 19, 2021
  14. Jacob KellerApr 20, 2021
  15. Emily ShafferApr 20, 2021
  16. Randall S. BeckerApr 20, 2021
  17. Jacob KellerApr 21, 2021
  18. Jacob KellerApr 22, 2021

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.