Merge branch 'mh/for-each-string-list-item-empty-fix'
[gitweb.git] / builtin / grep.c
index a70d8e2fba9f4e371a069bd801d20dcfe195f485..19e23946ac4bfe53dd0f590fe26250b1f789778b 100644 (file)
@@ -1048,10 +1048,6 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
        }
 #endif
 
-       if (recurse_submodules) {
-               gitmodules_config();
-       }
-
        if (show_in_pager && (cached || list.nr))
                die(_("--open-files-in-pager only works on the worktree"));