sha1_file: restore OBJECT_INFO_QUICK functionality
[gitweb.git] / builtin / diff.c
index 0da526cfdb893dbfeaae774edeb75cd244fb7e6e..f5bbd4d757e12e6e34a86fac006298acb771909f 100644 (file)
@@ -315,8 +315,6 @@ int cmd_diff(int argc, const char **argv, const char *prefix)
                        no_index = DIFF_NO_INDEX_IMPLICIT;
        }
 
-       if (!no_index)
-               gitmodules_config();
        init_diff_ui_defaults();
        git_config(git_diff_ui_config, NULL);
        precompose_argv(argc, argv);