diff options
author | Stefan Beller <sbeller@google.com> | 2016-03-31 17:17:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-01 12:21:34 -0700 |
commit | f8eaa0ba98b3bd9cb9035eba184a2d9806d30b27 (patch) | |
tree | 36e4132f8c5547bf7d8f960593278811540c6f3b /builtin/diff-tree.c | |
parent | submodule--helper clone: create the submodule path just once (diff) | |
download | tgif-f8eaa0ba98b3bd9cb9035eba184a2d9806d30b27.tar.xz |
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>
Diffstat (limited to 'builtin/diff-tree.c')
0 files changed, 0 insertions, 0 deletions