submodule--helper, module_clone: always operate on absolute paths
authorStefan Beller <sbeller@google.com>
Fri, 1 Apr 2016 00:17:28 +0000 (17:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2016 19:21:34 +0000 (12:21 -0700)
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>
No differences found