summaryrefslogtreecommitdiffstats
path: root/worktree.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-12-12 20:04:34 +0100
committerJunio C Hamano <gitster@pobox.com>2016-12-13 00:15:07 +0100
commit47e83eb3b7d5410769d7f4d3930ba7fa12915680 (patch)
tree5178ade037b710a5d67fe7ee9b4daf310ebffaee /worktree.c
parentworktree: check if a submodule uses worktrees (diff)
downloadgit-47e83eb3b7d5410769d7f4d3930ba7fa12915680.tar.xz
git-47e83eb3b7d5410769d7f4d3930ba7fa12915680.zip
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 'worktree.c')
0 files changed, 0 insertions, 0 deletions