Merge branch 'ls/hint-rev-list-count' into maint
[git/git.git] / builtin / rev-list.c
index ee9e872..c0b4b53 100644 (file)
@@ -356,7 +356,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
        if (bisect_list)
                revs.limited = 1;
 
-       if (use_bitmap_index) {
+       if (use_bitmap_index && !revs.prune) {
                if (revs.count && !revs.left_right && !revs.cherry_mark) {
                        uint32_t commit_count;
                        if (!prepare_bitmap_walk(&revs)) {