Re: Submodules: two confusing situations

2016-11-01 Thread Stefan Beller
On Tue, Nov 1, 2016 at 3:13 PM, David Turner wrote: > Consider the following two cases: > > We have commit X and commit Y. X is an ancestor of Y. > > We're at X and doing get checkout Y -- or we're at Y and we're doing > git checkout X. > > Case 1: Between X and Y, we have deleted a submodule. >

Submodules: two confusing situations

2016-11-01 Thread David Turner
Consider the following two cases: We have commit X and commit Y. X is an ancestor of Y. We're at X and doing get checkout Y -- or we're at Y and we're doing git checkout X. Case 1: Between X and Y, we have deleted a submodule. In order to move from X to Y, git removes the submodule from the wor