summaryrefslogtreecommitdiff
path: root/submodule.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-05-09 21:27:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-13 05:22:54 (GMT)
commitcf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7 (patch)
treec29cc740718b66dc238311f7ed0e97e91fc86d74 /submodule.h
parentd64db5b334f8822284bcc7068e093d8fbfb46dd9 (diff)
downloadgit-cf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7.zip
git-cf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7.tar.gz
git-cf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7.tar.bz2
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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
-rw-r--r--submodule.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/submodule.h b/submodule.h
index 9e18e9b..8072e6d 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);
/*