Thread (9 messages) flat view 9 messages, 4 authors, 2016-06-15

Re: Why do git submodules require manual checkouts and commits?

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:37

Hi,

On Thu, 15 May 2008, skillzero@gmail.com wrote:
Why do git submodules require manually committing the submodule itself
to each super repository after something in the submodule repository
changes?
Submodules are special.

You cannot recreate the exact state from a commit in the superproject, for 
one, and often not even from the commit itself, since the submodule can 
contain more than just the tracked files.

Also, no submodule _has_ to be checked out.  If you are working inside a 
superproject, chances are that you are uninterested in most of the 
submodules.

So no, there is nothing to change here, please move along.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help