diff options
author | Stefan Beller <sbeller@google.com> | 2016-12-12 11:04:34 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-12 15:15:07 -0800 |
commit | 47e83eb3b7d5410769d7f4d3930ba7fa12915680 (patch) | |
tree | 5178ade037b710a5d67fe7ee9b4daf310ebffaee /builtin | |
parent | worktree: check if a submodule uses worktrees (diff) | |
download | tgif-47e83eb3b7d5410769d7f4d3930ba7fa12915680.tar.xz |
move connect_work_tree_and_git_dir to dir.h
That function was primarily used by submodule code, but the function
itself is not inherently about submodules. In the next patch we'll
introduce relocate_git_dir, which can be used by worktrees as well,
so find a neutral middle ground in dir.h.
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