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 /submodule.h | |
parent | 1a248cf21d450eb911d01a89c84412c2da365e66 (diff) | |
download | git-47e83eb3b7d5410769d7f4d3930ba7fa12915680.tar.gz |
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 'submodule.h')
-rw-r--r-- | submodule.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/submodule.h b/submodule.h index d9e197a948..4e3bf469b4 100644 --- a/submodule.h +++ b/submodule.h @@ -65,7 +65,6 @@ int merge_submodule(unsigned char result[20], const char *path, const unsigned c int find_unpushed_submodules(unsigned char new_sha1[20], const char *remotes_name, struct string_list *needs_pushing); int push_unpushed_submodules(unsigned char new_sha1[20], const char *remotes_name); -void connect_work_tree_and_git_dir(const char *work_tree, const char *git_dir); int parallel_submodules(void); /* |