Re: [PATCH 3/7] submodule update --init: test path handling in recursive submodules

2016-03-28 Thread Junio C Hamano
Stefan Beller writes: > @@ -95,6 +99,35 @@ test_expect_success 'submodule update from subdirectory' ' > ) > ' > > +supersha1=$(cd super && git rev-parse HEAD) "supersha1=$(git -C super rev-parse HEAD)" perhaps? > +cat +Submodule path '../super': checked out '${supersha1}' > +

[PATCH 3/7] submodule update --init: test path handling in recursive submodules

2016-03-28 Thread Stefan Beller
This demonstrates a failure to handle paths correctly. Instead of getting the expected Submodule 'submodule' (${pwd}/submodule) registered for path '../super/submodule' the `super` directory is omitted and you get Submodule 'submodule' (${pwd}/submodule) registered for path '../submodule'