Skip to content

Commit 61aad92

Browse files
stefanbellergitster
authored andcommitted
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 <[email protected]> Reviewed-by: Jonathan Tan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4a7c05f commit 61aad92

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

submodule.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ extern int push_unpushed_submodules(struct oid_array *commits,
105105
const char **refspec, int refspec_nr,
106106
const struct string_list *push_options,
107107
int dry_run);
108-
extern void connect_work_tree_and_git_dir(const char *work_tree, const char *git_dir);
109108
/*
110109
* Given a submodule path (as in the index), return the repository
111110
* path of that submodule in 'buf'. Return -1 on error or when the

0 commit comments

Comments
 (0)