Re: Git mv -- submodule -- recursive

2016-06-27 Thread Stefan Beller
On Mon, Jun 27, 2016 at 1:07 PM, Bart Bogaerts wrote: > Hi, > > I tested this on git version 2.9 and it still fails (exactly the same > behaviour as on the stackoverflow post; also the workarounded I posted > there still works). I see. the commit I referenced was solving

Re: Git mv -- submodule -- recursive

2016-06-27 Thread Bart Bogaerts
Hi, I tested this on git version 2.9 and it still fails (exactly the same behaviour as on the stackoverflow post; also the workarounded I posted there still works). Some output showing the bug follows below: bartb@EB-Latitude-E5450 ~/Documents/papers $ git status On branch master Your branch is

Re: Git mv -- submodule -- recursive

2016-06-27 Thread Stefan Beller
On Sun, Jun 26, 2016 at 11:01 PM, Bart Bogaerts wrote: > With a repo structured as follows > > main-files > |- submod > |- subsubmodule > > git mv submod newlocation > > does not do what it is supposed to do. It actually breaks the git repository. > It can be fixed

Git mv -- submodule -- recursive

2016-06-27 Thread Bart Bogaerts
With a repo structured as follows main-files |- submod |- subsubmodule git mv submod newlocation does not do what it is supposed to do. It actually breaks the git repository. It can be fixed easily. A complete description of the bug, including a workaround, can be found on

Re: git-mv-submodule

2013-12-21 Thread Jens Lehmann
Am 21.12.2013 10:48, schrieb fREW Schmidt: Hello all, I was on a plane, moving around some of the many (30ish) submodules in my dotfiles and got really annoyed at how much work it is (move the dir, remove old from git, add new to git, fix .gitmodules, fix .git/config, fix all the parts of

Re: git-mv-submodule

2013-12-21 Thread fREW Schmidt
On Sat, Dec 21, 2013 at 05:08:59PM +0100, Jens Lehmann wrote: Am 21.12.2013 10:48, schrieb fREW Schmidt: Thanks for sharing! Form a cursory look over your perl script it looks like it does what stock git mv will do since 1.8.5 (except for changing the name of the submodule, which I would not

git-mv-submodule

2013-12-21 Thread fREW Schmidt
Hello all, I was on a plane, moving around some of the many (30ish) submodules in my dotfiles and got really annoyed at how much work it is (move the dir, remove old from git, add new to git, fix .gitmodules, fix .git/config, fix all the parts of the submodule config) so I wrote a perl script to