Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin/mktree: remove hard-coded constant
[gitweb.git]
/
builtin
/
submodule--helper.c
diff --git
a/builtin/submodule--helper.c
b/builtin/submodule--helper.c
index 40844870cfb158b014ee5ea10517c27349e09133..247881189fde2a910bbd993342bb74fe10e06b0e 100644
(file)
--- a/
builtin/submodule--helper.c
+++ b/
builtin/submodule--helper.c
@@
-1233,6
+1233,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);