Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: don't use submodule_from_name
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 5139b9256b589a6524e6158dbb1c2ae492ea4f70..19bd13bb2a343479aa3c4a567d3bb9b915a697b5 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-1177,8
+1177,6
@@
static int get_next_submodule(struct child_process *cp,
continue;
submodule = submodule_from_path(&null_oid, ce->name);
- if (!submodule)
- submodule = submodule_from_name(&null_oid, ce->name);
default_argv = "yes";
if (spf->command_line_option == RECURSE_SUBMODULES_DEFAULT) {