exclude-promisor-objects: declare when option is allowed
[gitweb.git] / builtin / pack-objects.c
index e9d3cfb9e33a6b874751ac6acc5aac2361d4a58d..8ac8ca1d2609422d603b2a1f8e65027e4e8c0697 100644 (file)
@@ -2853,6 +2853,7 @@ static void get_object_list(int ac, const char **av)
 
        init_revisions(&revs, NULL);
        save_commit_buffer = 0;
+       revs.allow_exclude_promisor_objects_opt = 1;
        setup_revisions(ac, av, &revs, NULL);
 
        /* make sure shallows are read */