diff options
author | Stefan Beller <sbeller@google.com> | 2016-12-08 13:03:24 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-09 14:52:57 -0800 |
commit | 90c0011619bd4cd4b14c366ab7a9affacb43276a (patch) | |
tree | c24fa10818aba79decba7f6549e8ba628bf79a7a /t/test-lib-functions.sh | |
parent | worktree list: keep the list sorted (diff) | |
download | tgif-90c0011619bd4cd4b14c366ab7a9affacb43276a.tar.xz |
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 't/test-lib-functions.sh')
0 files changed, 0 insertions, 0 deletions