Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
revision.c: remove implicit dependency on the_index
[gitweb.git]
/
shallow.c
diff --git
a/shallow.c
b/shallow.c
index dbe8a2a2906abf9b393eeca1cdad8c9425c3e4bb..e656ce8b9cc7d916987e9b4f05897eccc0c53542 100644
(file)
--- a/
shallow.c
+++ b/
shallow.c
@@
-184,7
+184,7
@@
struct commit_list *get_shallow_commits_by_rev_list(int ac, const char **av,
is_repository_shallow(the_repository); /* make sure shallows are read */
-
init_revisions(
&revs, NULL);
+
repo_init_revisions(the_repository,
&revs, NULL);
save_commit_buffer = 0;
setup_revisions(ac, av, &revs, NULL);