]> git.ipfire.org Git - thirdparty/git.git/commit
ewah: `bitmap_equals_ewah()`
authorTaylor Blau <me@ttaylorr.com>
Thu, 23 May 2024 21:27:18 +0000 (17:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 May 2024 18:40:44 +0000 (11:40 -0700)
commit94c1addf862619250a1584c05a43f80f1c8d7d72
tree8bdbccc81708ee6358478a2470d6ac5493d2ecd4
parent25163f50a238087f5157e73eb645ddc5b2d133d7
ewah: `bitmap_equals_ewah()`

Prepare to reuse existing pseudo-merge bitmaps by implementing a
`bitmap_equals_ewah()` helper.

This helper will be used to see if a raw bitmap (containing the set of
parents for some pseudo-merge) is equal to any existing pseudo-merge's
commits bitmap (which are stored as EWAH-compressed bitmaps on disk).

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ewah/bitmap.c
ewah/ewok.h