ls-files: use correct format string
[gitweb.git] / builtin / prune.c
index d356ad70f6c3ad06112420e5a5f984fa38f09473..1ec9ddd751df6644d2c39ace41a1494800082638 100644 (file)
@@ -120,8 +120,7 @@ int cmd_prune(int argc, const char **argv, const char *prefix)
        save_commit_buffer = 0;
        read_replace_refs = 0;
        ref_paranoia = 1;
-       revs.allow_exclude_promisor_objects_opt = 1;
-       init_revisions(&revs, prefix);
+       repo_init_revisions(the_repository, &revs, prefix);
 
        argc = parse_options(argc, argv, prefix, options, prune_usage, 0);