Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: fixup nested submodules after moving the submodule
[gitweb.git]
/
builtin
/
submodule--helper.c
diff --git
a/builtin/submodule--helper.c
b/builtin/submodule--helper.c
index 5551cf19c3f94fe7e57b6d1ea49de103f0ef3cdb..ffdc51f426e3781151c03fcd898cfeb43862e8ea 100644
(file)
--- a/
builtin/submodule--helper.c
+++ b/
builtin/submodule--helper.c
@@
-1260,8
+1260,7
@@
static int module_clone(int argc, const char **argv, const char *prefix)
strbuf_reset(&sb);
}
- /* Connect module worktree and git dir */
- connect_work_tree_and_git_dir(path, sm_gitdir);
+ connect_work_tree_and_git_dir(path, sm_gitdir, 0);
p = git_pathdup_submodule(path, "config");
if (!p)