summaryrefslogtreecommitdiff
path: root/builtin/diff-files.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/diff-files.c')
-rw-r--r--builtin/diff-files.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/diff-files.c b/builtin/diff-files.c
index 17bf84d18f..48cfcb935d 100644
--- a/builtin/diff-files.c
+++ b/builtin/diff-files.c
@@ -25,8 +25,7 @@ int cmd_diff_files(int argc, const char **argv, const char *prefix)
usage(diff_files_usage);
git_config(git_diff_basic_config, NULL); /* no "diff" UI options */
- init_revisions(&rev, prefix);
- gitmodules_config();
+ repo_init_revisions(the_repository, &rev, prefix);
rev.abbrev = 0;
precompose_argv(argc, argv);