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

Git Submodules ref setting

From
ВЦВадим Цветков <vadim.tsvetkov80@gmail.com>
Date
May 12, 2022, 20:01 UTC
Message-ID
<F20FCD5B-7788-4D4C-8402-2C4CF447B2F5@gmail.com>
Hello,

I've started a small project which involves several git repositories, which depends on each other. For dealing with these repos I wanted to use git submodules as a simple package manager. However, it seems impossible to lock a submodule to particular ref, only to a branch. I would like to ask if this is deliberate design choice? And if it's not, may I contribute this feature?

Next: Philip Oakley
Message 1 of 5 in “Git Submodules ref setting”
  1. Вадим ЦветковMay 12, 2022
  2. Philip OakleyMay 12, 2022
  3. Philippe BlainMay 12, 2022
  4. Philip OakleyMay 13, 2022
  5. Junio C HamanoMay 13, 2022

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.