Merge branch 'jk/send-pack-stdio' into maint
[gitweb.git] / t / t5310-pack-bitmaps.sh
index d446706e94fb878b471e6deaebba4ec7abc76930..3893afd687986ec7ec9102658c8dc332c61d25fa 100755 (executable)
@@ -47,6 +47,12 @@ rev_list_tests() {
                test_cmp expect actual
        '
 
+       test_expect_success "counting commits with limit ($state)" '
+               git rev-list --count -n 1 HEAD >expect &&
+               git rev-list --use-bitmap-index --count -n 1 HEAD >actual &&
+               test_cmp expect actual
+       '
+
        test_expect_success "counting non-linear history ($state)" '
                git rev-list --count other...master >expect &&
                git rev-list --use-bitmap-index --count other...master >actual &&