diff options
author | Stefan Beller <sbeller@google.com> | 2016-03-25 11:39:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-03-25 14:30:35 -0700 |
commit | bceb7d3e22f292470bc0542247781c8f278bb97b (patch) | |
tree | 342204f03fd8369c738c5dcd01a6b6e4a09677e7 /builtin/submodule--helper.c | |
parent | ffdfdfa5aeb5e42d119231dc71acafd0b6a3da92 (diff) | |
download | git-sb/submodule-helper-prefix.tar.gz |
submodule--helper clone: lose the extra prefix optionsb/submodule-helper-prefix
In the rewrite from shell to C (ee8838d157761, 2015-09-08, submodule:
rewrite `module_clone` shell function in C), we never made use of the
prefix. Probably it sneaked in as module_list which was converted in the
same series had the prefix as well.
Signed-off-by: Stefan Beller <sbeller@google.com>
Diffstat (limited to 'builtin/submodule--helper.c')
-rw-r--r-- | builtin/submodule--helper.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index 6c3ff914f3..73b5874a7b 100644 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@ -153,9 +153,6 @@ static int module_clone(int argc, const char **argv, const char *prefix) struct strbuf sb = STRBUF_INIT; struct option module_clone_options[] = { - OPT_STRING(0, "prefix", &prefix, - N_("path"), - N_("alternative anchor for relative paths")), OPT_STRING(0, "path", &path, N_("path"), N_("where the new submodule will be cloned to")), @@ -176,7 +173,7 @@ static int module_clone(int argc, const char **argv, const char *prefix) }; const char *const git_submodule_helper_usage[] = { - N_("git submodule--helper clone [--prefix=<path>] [--quiet] " + N_("git submodule--helper clone [--quiet] " "[--reference <repository>] [--name <name>] [--url <url>]" "[--depth <depth>] [--] [<path>...]"), NULL |