summaryrefslogtreecommitdiff
path: root/pack-bitmap.h
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2021-09-14 22:06:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-09-14 23:34:17 (GMT)
commita05f02b1d9a1253e11a327c95cd47cbd24317ba6 (patch)
tree26b061c1fb109237808f4fc04444b07947e906b8 /pack-bitmap.h
parent73cd7d9420bb7d75207e8149521db375c789a81c (diff)
downloadgit-a05f02b1d9a1253e11a327c95cd47cbd24317ba6.zip
git-a05f02b1d9a1253e11a327c95cd47cbd24317ba6.tar.gz
git-a05f02b1d9a1253e11a327c95cd47cbd24317ba6.tar.bz2
t/helper/test-bitmap.c: add 'dump-hashes' mode
The pack-bitmap writer code is about to learn how to propagate values from an existing hash-cache. To prepare, teach the test-bitmap helper to dump the values from a bitmap's hash-cache extension in order to test those changes. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap.h')
-rw-r--r--pack-bitmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pack-bitmap.h b/pack-bitmap.h
index 469090b..ed46d27 100644
--- a/pack-bitmap.h
+++ b/pack-bitmap.h
@@ -52,6 +52,7 @@ void traverse_bitmap_commit_list(struct bitmap_index *,
show_reachable_fn show_reachable);
void test_bitmap_walk(struct rev_info *revs);
int test_bitmap_commits(struct repository *r);
+int test_bitmap_hashes(struct repository *r);
struct bitmap_index *prepare_bitmap_walk(struct rev_info *revs,
struct list_objects_filter_options *filter,
int filter_provided_objects);