On Aug 10, 2007, at 9:02 AM, Steffen Prohaska wrote:
I mean, I should be allowed to work on the submodule and somehow
work on the superproject at the same time? But none of my
usual workflow works because I always get trapped by a
modified submodule.
What I do now is to check with 'git diff' in the supermodule,
which state of the submodule is expected. Then I bring the
submodule in this state (even if this brings me to a detached
head). This keeps the supermodule happy.
But if different branches of the supermodule expect different
states of the submodule you may be forced to switch to another
detached head after every command you run in the supermodule.
There must be a simpler way, which I probably don't know.
Steffen