diff options
-rw-r--r-- | submodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/submodule.c b/submodule.c index 5139b9256b..19bd13bb2a 100644 --- 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) { |