diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-09-27 21:41:02 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-27 21:41:02 +0300 |
commit | e43aab778c72250e11eb00e31dc6be90072a1637 (patch) | |
tree | 5d798093eb539e50820241325edb45c745c99916 /builtin | |
parent | fc54c1af3ec09bab8b8ea09768c2da4069b7f53e (diff) | |
parent | 27d05d1a1a62273aa3749f4d0ab8a126ef11ff66 (diff) |
Sync with 2.16.5
* maint-2.16:
Git 2.16.5
Git 2.15.3
Git 2.14.5
submodule-config: ban submodule paths that start with a dash
submodule-config: ban submodule urls that start with dash
submodule--helper: use "--" to signal end of clone options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/submodule--helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index 4f35c98bb9..a9187c6f0c 100644 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@ -1078,6 +1078,7 @@ static int clone_submodule(const char *path, const char *gitdir, const char *url if (gitdir && *gitdir) argv_array_pushl(&cp.args, "--separate-git-dir", gitdir, NULL); + argv_array_push(&cp.args, "--"); argv_array_push(&cp.args, url); argv_array_push(&cp.args, path); |