exclude-promisor-objects: declare when option is allowed
[gitweb.git] / builtin / rev-list.c
index 6f5b9b0847321ca214b4d32719eaeacefffd5ce4..c8f3ac8d0927e67ea913299bc26173d870d7b29c 100644 (file)
@@ -370,6 +370,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
        git_config(git_default_config, NULL);
        init_revisions(&revs, prefix);
        revs.abbrev = DEFAULT_ABBREV;
+       revs.allow_exclude_promisor_objects_opt = 1;
        revs.commit_format = CMIT_FMT_UNSPECIFIED;
 
        /*