Re: [PATCH v2 2/3] Teach mv to move submodules using a gitfile

2013-04-11 Thread Junio C Hamano
Ramkumar Ramachandra writes: > Jens Lehmann wrote: >> When moving a submodule which uses a gitfile to point to the git directory >> stored in .git/modules/ of the superproject two changes must be made >> to make the submodule work: the .git file and the core.worktree setting >> must be adjusted t

Re: [PATCH v2 2/3] Teach mv to move submodules using a gitfile

2013-04-11 Thread Ramkumar Ramachandra
Jens Lehmann wrote: > When moving a submodule which uses a gitfile to point to the git directory > stored in .git/modules/ of the superproject two changes must be made > to make the submodule work: the .git file and the core.worktree setting > must be adjusted to point from work tree to git directo

[PATCH v2 2/3] Teach mv to move submodules using a gitfile

2013-04-10 Thread Jens Lehmann
When moving a submodule which uses a gitfile to point to the git directory stored in .git/modules/ of the superproject two changes must be made to make the submodule work: the .git file and the core.worktree setting must be adjusted to point from work tree to git directory and back. Achieve that b