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

Submodule complaint

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 21, 2008, 19:51 UTC
Message-ID
<alpine.DEB.1.00.0811212043430.30769@pacific.mpi-cbg.de>
Hi,

just to let you know (those who are capable of coding, that is): submodules are _still_ a 2nd-class citizen, and very much so.

With a commit where you _know_ that a submodule has a different version than the current one, try this:

	$ git checkout $COMMIT -- $SUBMODULE

You will realize that it does not change the "git status" output (i.e. it does not change the index), which is wrong, wrong, wrong.

Ciao, Dscho

P.S.: If I would not have enjoyed my rightfully deserved weekend beers, I would have taken take care of this myself, depriving _you_ of commit-karma. So, in a way I am giving you the chance to increase your value ;-)

Message 1 of 1 in “Submodule complaint”
  1. Johannes SchindelinNov 21, 2008

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.