Re: 'git mv' doesn't move submodule if it's in a subdirectory

2016-04-15 Thread Albin Otterhäll
On 2016-04-15 19:18, Stefan Beller wrote: > On Fri, Apr 15, 2016 at 1:14 AM, Albin Otterhäll wrote: >> I've a submodule located in a subdirectory >> ({git_rep}/home/{directory}/{submodule}), and I wanted to move the whole >> directory up a level

Re: 'git mv' doesn't move submodule if it's in a subdirectory

2016-04-15 Thread Stefan Beller
On Fri, Apr 15, 2016 at 11:21 AM, Junio C Hamano wrote: > Stefan Beller writes: > >> I think I can reproduce the problem. A regression test (which currently >> fails) >> could look like > > Thanks. I however do not think this is a regression. > > Changes

Re: 'git mv' doesn't move submodule if it's in a subdirectory

2016-04-15 Thread Junio C Hamano
Stefan Beller writes: > I think I can reproduce the problem. A regression test (which currently fails) > could look like Thanks. I however do not think this is a regression. Changes around 0656781f (mv: update the path entry in .gitmodules for moved submodules, 2013-08-06)

Re: 'git mv' doesn't move submodule if it's in a subdirectory

2016-04-15 Thread Stefan Beller
On Fri, Apr 15, 2016 at 10:18 AM, Stefan Beller wrote: > On Fri, Apr 15, 2016 at 1:14 AM, Albin Otterhäll wrote: >> I've a submodule located in a subdirectory >> ({git_rep}/home/{directory}/{submodule}), and I wanted to move the whole >> directory up a

Re: 'git mv' doesn't move submodule if it's in a subdirectory

2016-04-15 Thread Stefan Beller
On Fri, Apr 15, 2016 at 1:14 AM, Albin Otterhäll wrote: > I've a submodule located in a subdirectory > ({git_rep}/home/{directory}/{submodule}), and I wanted to move the whole > directory up a level ({git_rep}/{directory}/{submodule}). But when I > used 'git mv {directory}

'git mv' doesn't move submodule if it's in a subdirectory

2016-04-15 Thread Albin Otterhäll
I've a submodule located in a subdirectory ({git_rep}/home/{directory}/{submodule}), and I wanted to move the whole directory up a level ({git_rep}/{directory}/{submodule}). But when I used 'git mv {directory} ../' the '.gitmodule' file didn't get modified. Best regards, Albin Otterhäll -- To