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}'
> +
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'
2 matches
Mail list logo