Merge branch 'js/remote-curl-i18n'
[gitweb.git] / t / perf / p5304-prune.sh
index 3c852084eb4330710c8b51ce4ac42fdc1dbca430..83baedb8a492804fc1a96cfe4d59441504dcee95 100755 (executable)
@@ -21,4 +21,15 @@ test_perf 'prune with no objects' '
        git prune
 '
 
+test_expect_success 'repack with bitmaps' '
+       git repack -adb
+'
+
+# We have to create the object in each trial run, since otherwise
+# runs after the first see no object and just skip the traversal entirely!
+test_perf 'prune with bitmaps' '
+       echo "probably not present in repo" | git hash-object -w --stdin &&
+       git prune
+'
+
 test_done