From cf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 9 May 2019 17:27:31 -0400 Subject: submodule: drop unused prefix parameter from some functions We stopped using the "prefix" parameter of relocate_single_git_dir_into_superproject() and its callers in 202275b96b (submodule.c: get_super_prefix_or_empty, 2017-03-14), where we switched to using the environment global directly. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- submodule.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'submodule.h') diff --git a/submodule.h b/submodule.h index 9e18e9b807..8072e6d6dd 100644 --- a/submodule.h +++ b/submodule.h @@ -141,8 +141,7 @@ void submodule_unset_core_worktree(const struct submodule *sub); void prepare_submodule_repo_env(struct argv_array *out); #define ABSORB_GITDIR_RECURSE_SUBMODULES (1<<0) -void absorb_git_dir_into_superproject(const char *prefix, - const char *path, +void absorb_git_dir_into_superproject(const char *path, unsigned flags); /* -- cgit v1.3