pretty: allow showing specific trailers
[gitweb.git] / shallow.c
index 99fd2d1ba0f70aaf238f55aae006a12e38090342..732e18d54f3b88d8a081786eabd030d84eb7e0a3 100644 (file)
--- a/shallow.c
+++ b/shallow.c
@@ -185,7 +185,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);