Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refresh_index: remove unnecessary calls to preload_index()
[gitweb.git]
/
builtin
/
diff-files.c
diff --git
a/builtin/diff-files.c
b/builtin/diff-files.c
index e88493ffe5d5d66461edb71832b58e8b3b4b2bc8..48cfcb935d0413fcf3850e0c28ec237b642b38a2 100644
(file)
--- a/
builtin/diff-files.c
+++ b/
builtin/diff-files.c
@@
-25,7
+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);
+
repo_init_revisions(the_repository,
&rev, prefix);
rev.abbrev = 0;
precompose_argv(argc, argv);