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/name 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

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

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

[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/name 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