diff options
author | Jeff King <peff@peff.net> | 2019-05-09 23:27:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-13 07:22:54 +0200 |
commit | cf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7 (patch) | |
tree | c29cc740718b66dc238311f7ed0e97e91fc86d74 /submodule.h | |
parent | builtin: consistently pass cmd_* prefix to parse_options (diff) | |
download | git-cf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7.tar.xz git-cf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7.zip |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); /* |