Re: [PATCH/RFC 3/3] Teach mv to update the path entry in .gitmodules for moved submodules

2013-04-11 Thread Ramkumar Ramachandra
Jens Lehmann wrote: Currently using git mv on a submodule moves the submodule's work tree in that of the superproject. It's not Currently: it's the result of your last two patches. The wording is very unclear. Perhaps: As a result of the last two patches in this series, a 'git mv' moves the

Re: [PATCH/RFC 3/3] Teach mv to update the path entry in .gitmodules for moved submodules

2013-04-11 Thread Junio C Hamano
Jens Lehmann jens.lehm...@web.de writes: Currently using git mv on a submodule moves the submodule's work tree in that of the superproject. But the submodule's path setting in .gitmodules is left untouched, which is now inconsistent with the work tree and makes git commands that rely on the

[PATCH/RFC 3/3] Teach mv to update the path entry in .gitmodules for moved submodules

2013-04-03 Thread Jens Lehmann
Currently using git mv on a submodule moves the submodule's work tree in that of the superproject. But the submodule's path setting in .gitmodules is left untouched, which is now inconsistent with the work tree and makes git commands that rely on the proper path - name mapping (like status and