submodule--helper, module_clone: always operate on absolute paths
When giving relative paths to `relative_path` to compute a relative path
from one directory to another, this may fail in `relative_path`.
Make sure both arguments to `relative_path` are always absolute.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Stefan Beller9 years agocommitted byJunio C Hamano
@ -818,7 +818,7 @@ test_expect_success 'submodule add --name allows to replace a submodule with ano
@@ -818,7 +818,7 @@ test_expect_success 'submodule add --name allows to replace a submodule with ano