bitmap: implement bitmap_is_subset()
authorDerrick Stolee <redacted>
Tue, 8 Dec 2020 22:04:08 +0000 (17:04 -0500)
committerJunio C Hamano <redacted>
Tue, 8 Dec 2020 22:48:16 +0000 (14:48 -0800)
commited03a58b655f661ef6f9efd8816efe0c8cf07fa0
tree239bea07c453407c0462e82d41cedf0c6e66cad6
parent6dc5ef759f25fbded11d235362c59f59498809e6
bitmap: implement bitmap_is_subset()

The bitmap_is_subset() function checks if the 'self' bitmap contains any
bitmaps that are not on in the 'other' bitmap. Up until this patch, it
had a declaration, but no implementation or callers. A subsequent patch
will want this function, so implement it here.

Helped-by: Junio C Hamano <redacted>
Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
ewah/bitmap.c
ewah/ewok.h
git clone https://git.99rst.org/PROJECT