diff options
author | Jeff King <peff@peff.net> | 2019-05-09 17:27:31 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-13 14:22:54 +0900 |
commit | cf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7 (patch) | |
tree | c29cc740718b66dc238311f7ed0e97e91fc86d74 /builtin/submodule--helper.c | |
parent | d64db5b334f8822284bcc7068e093d8fbfb46dd9 (diff) | |
download | git-cf7a901ae4dff574e78d7b03bbaecfeb9dcc44d7.tar.gz |
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 'builtin/submodule--helper.c')
-rw-r--r-- | builtin/submodule--helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index 8c72ea864c..7262f1a000 100644 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@ -2107,8 +2107,7 @@ static int absorb_git_dirs(int argc, const char **argv, const char *prefix) return 1; for (i = 0; i < list.nr; i++) - absorb_git_dir_into_superproject(prefix, - list.entries[i]->name, flags); + absorb_git_dir_into_superproject(list.entries[i]->name, flags); return 0; } |