]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/helper/test-read-graph.c
Merge branch 'gc/branch-recurse-submodules-fix'
[thirdparty/git.git] / t / helper / test-read-graph.c
index 75927b2c81d28de1b3f16de0ef4a9d55aad5e668..98b73bb8f25aabea7384cde0fb639cff16cf631e 100644 (file)
@@ -3,6 +3,7 @@
 #include "commit-graph.h"
 #include "repository.h"
 #include "object-store.h"
+#include "bloom.h"
 
 int cmd__read_graph(int argc, const char **argv)
 {
@@ -45,6 +46,18 @@ int cmd__read_graph(int argc, const char **argv)
                printf(" bloom_data");
        printf("\n");
 
+       printf("options:");
+       if (graph->bloom_filter_settings)
+               printf(" bloom(%"PRIu32",%"PRIu32",%"PRIu32")",
+                      graph->bloom_filter_settings->hash_version,
+                      graph->bloom_filter_settings->bits_per_entry,
+                      graph->bloom_filter_settings->num_hashes);
+       if (graph->read_generation_data)
+               printf(" read_generation_data");
+       if (graph->topo_levels)
+               printf(" topo_levels");
+       printf("\n");
+
        UNLEAK(graph);
 
        return 0;