exclude-promisor-objects: declare when option is allowed
[gitweb.git] / builtin / prune.c
index 4394d01c9350ae3e1fa26de034edf1509128469e..a5c784749eaebd92655800ab87b2df5512501603 100644 (file)
@@ -118,6 +118,7 @@ int cmd_prune(int argc, const char **argv, const char *prefix)
        save_commit_buffer = 0;
        check_replace_refs = 0;
        ref_paranoia = 1;
+       revs.allow_exclude_promisor_objects_opt = 1;
        init_revisions(&revs, prefix);
 
        argc = parse_options(argc, argv, prefix, options, prune_usage, 0);