remote: release strbuf after use in read_remote_branches()
[gitweb.git] / builtin / diff-files.c
index c97069a714e42a1737b5dfa223fe39c26ad9aa67..e88493ffe5d5d66461edb71832b58e8b3b4b2bc8 100644 (file)
@@ -4,6 +4,7 @@
  * Copyright (C) Linus Torvalds, 2005
  */
 #include "cache.h"
+#include "config.h"
 #include "diff.h"
 #include "commit.h"
 #include "revision.h"
@@ -25,7 +26,6 @@ int cmd_diff_files(int argc, const char **argv, const char *prefix)
 
        git_config(git_diff_basic_config, NULL); /* no "diff" UI options */
        init_revisions(&rev, prefix);
-       gitmodules_config();
        rev.abbrev = 0;
        precompose_argv(argc, argv);