submodule.h: drop declaration of connect_work_tree_and_git_dir
authorStefan Beller <sbeller@google.com>
Wed, 28 Mar 2018 22:35:26 +0000 (15:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Mar 2018 16:44:50 +0000 (09:44 -0700)
commit61aad92b852278afc6364f9ab4c33c3740fb9e66
tree98a726e62c4a0a2db075917d6d11dcb28691b3b8
parent4a7c05f7d7f17cd7a42fa944e79c2ef294cb17b6
submodule.h: drop declaration of connect_work_tree_and_git_dir

The function connect_work_tree_and_git_dir is declared in both submodule.h
and dir.h, such that one of them is redundant. As the function is
implemented in dir.c, drop the declaration from submodule.h

Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.h