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

Reference a submodule branch instead of a commit

From
JMJeremy Morton <admin@game-point.net>
Date
Oct 3, 2016, 18:14 UTC
Message-ID
<57F29FEF.30700@game-point.net>

At the moment, supermodules must reference a given commit in each of its submodules. If one is in control of a submodule and it changes on a regular basis, this can cause a lot of overhead with "submodule updated" commits in the supermodule. It would be useful of git allows the option of referencing a submodule's branch instead of a given submodule commit. How about adding this functionality?

-- 
Best regards,
Jeremy Morton (Jez)
Next: Junio C Hamano
Message 1 of 9 in “Reference a submodule branch instead of a commit”
  1. Jeremy MortonOct 3, 2016
  2. Junio C HamanoOct 3, 2016
  3. Heiko VoigtOct 4, 2016
  4. Stefan BellerOct 4, 2016
  5. Junio C HamanoOct 4, 2016
  6. Junio C HamanoOct 4, 2016
  7. Heiko VoigtOct 5, 2016
  8. Junio C HamanoOct 5, 2016
  9. Heiko VoigtOct 5, 2016

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.