Re: Why do git submodules require manual checkouts and commits?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 16, 2008, 10:17 UTC
- Message-ID
- <alpine.DEB.1.00.0805161055540.30431@racer>
- In-Reply-To
- <2729632a0805152116o3c998324xb401674207dd2e1e@mail.gmail.com>
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