summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-12-08 13:03:24 -0800
committerJunio C Hamano <gitster@pobox.com>2016-12-09 14:52:57 -0800
commit90c0011619bd4cd4b14c366ab7a9affacb43276a (patch)
treec24fa10818aba79decba7f6549e8ba628bf79a7a /builtin
parent4df1d4d4666eb26b420d5b386010470729846b8c (diff)
downloadgit-90c0011619bd4cd4b14c366ab7a9affacb43276a.tar.gz
submodule: use absolute path for computing relative path connecting
The current caller of connect_work_tree_and_git_dir passes an absolute path for the `git_dir` parameter. In the future patch we will also pass in relative path for `git_dir`. Extend the functionality of connect_work_tree_and_git_dir to take relative paths for parameters. We could work around this in the future patch by computing the absolute path for the git_dir in the calling site, however accepting relative paths for either parameter makes the API for this function much harder to misuse. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions