diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-09-27 11:20:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-27 11:20:22 -0700 |
commit | 902df9f5c45cd99720d4ca0a38d0538eb0126ad7 (patch) | |
tree | 31508ce7526984307a09f9e114a2989f668c060e /builtin | |
parent | d33c87517a85f544159b2efa406136dde18a5b9f (diff) | |
parent | d0832b2847aa9669c09397c5639d7fe56abaf9fc (diff) | |
download | git-902df9f5c45cd99720d4ca0a38d0538eb0126ad7.tar.gz |
Sync with Git 2.14.4
* maint-2.14:
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 77940499b0..30e0bb876c 100644 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@ -503,6 +503,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); |