threads / discuss / 16425

Submodule complaint

Subject: Submodule complaint

## tl;dr

One message between Nov 21, 2008 and Nov 21, 2008.

replies: 0people: 1as markdown or json

Johannes Schindelin· Nov 21, 2008, 19:51 UTC · lore
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 ;-)

← back to recent threads