With git >= 1.7.8 are submodules cloned into
.git/modules and in
submodule folder is only .git file.
I have no idea what happened or why only now
everything is
exploding. That said, looks like possibly my tree has been
corrupted for a while. I have no idea what is the catalyst to start
the recent events.
Seems right now I have a mish-mash mixture of some modules with a
.git directory and some modules with a .git file pointing to a
respective .git directory in the root of the source tree.
Some modules have no .git directory in the module or in the root
.git directory. Like right now, tde-i18n is void of any .git
directory in either location. That is 1.1GB of files I don't want
to have to download when all I need is a respective .git directory
somewhere.
Running git pull does nothing to recreate the .git directory
somewhere.
Is there a fix for this?
Or, is there a way I can update my tree to move the .git folder
that exists in each module to ../../../.git/modules/ and create an
appropriate .git file in each module that points to
../../../.git/modules/{modulename}?
Darrell