recursive submodules: test for relative paths
authorStefan Beller <sbeller@google.com>
Thu, 31 Mar 2016 21:04:36 +0000 (14:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Mar 2016 22:18:28 +0000 (15:18 -0700)
"git submodule update --init --recursive" uses full path to refer to
the true location of the repository in the "gitdir:" pointer for
nested submodules; the command used to use relative paths.

This was reported by Norio Nomura in $gmane/290280.

The root cause for that bug is in using recursive submodules as
their relative path handling was broken in ee8838d (2015-09-08,
submodule: rewrite `module_clone` shell function in C).

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found