Re: What's cooking in git.git (topics)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 22, 2008, 17:28 UTC
- Message-ID
- <alpine.DEB.1.00.0804221827330.4460@eeepc-johanness>
- In-Reply-To
- <46dff0320804221013m2ff0320am31b7f8beb5f26f1b@mail.gmail.com>
Hi,
On Wed, 23 Apr 2008, Ping Yin wrote:
> If we go back to a old HEAD or switch to another branch with changed > path for a submodule, what should 'git submodule update' do? I think > entries in .gitmodules should take precedence.
Literally the most common reason for a _different_ .gitmodules in an older revision is that the repository was moved to another machine.
In this case, your suggestion is actively wrong.
Ciao, Dscho