Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
revision.c: reduce implicit dependency the_repository
[gitweb.git]
/
builtin
/
diff-files.c
diff --git
a/builtin/diff-files.c
b/builtin/diff-files.c
index 17bf84d18f802d3f223e7408fee644b94878b35f..48cfcb935d0413fcf3850e0c28ec237b642b38a2 100644
(file)
--- 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);