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

Re: Make "git checkout" automatically update submodules?

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 23, 2015, 19:11 UTC
Message-ID
<xmqq37x1pfhl.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAGZ79kYMyU5h8uQkNEpMU558FgLrNM52_aQsXud6CrBAUgFSNA@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
> Checkout [1]. There are lots of good patches, but hard to find.
> (Including, but not limited to a recursive git checkout enhancement!)
> ...
> [1] https://github.com/jlehmann/git-submod-enhancements/wiki

Yes, Jens is not just one of the people who have been working on harder, and thinking longer about, submodules than anybody else, but also has demonstrated that he has good taste and balanced view on the design of the subsystem over time, whose technical judgment we can trust.

Not all the changes listed on the page may necessarily be good as-is (e.g. some may help only a subset of users while hurting others, like the "recursively check-out everything unconditionally" that trigerred this thread), but the page has a good collection to remind anybody, who designs a coherent whole, of issues that need to be taken into account.

Thanks for a pointer to an excellent starting page.
Previous: Stefan BellerNext: Kannan Goundan
Message 9 of 10 in “Make "git checkout" automatically update submodules?”
  1. Kannan GoundanOct 15, 2015
  2. Junio C HamanoOct 15, 2015
  3. Kannan GoundanOct 22, 2015
  4. Junio C HamanoOct 23, 2015
  5. Kannan GoundanOct 23, 2015
  6. Christian CouderOct 23, 2015
  7. Junio C HamanoOct 23, 2015
  8. Stefan BellerOct 23, 2015
  9. Junio C HamanoOct 23, 2015
  10. Kannan GoundanOct 23, 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.