bitmap: add bitmap_unset() function
commitcc4aa28506e079e0c17cfbe78743530795803ea8
authorJeff King <peff@peff.net>
Fri, 14 Feb 2020 18:22:34 +0000 (14 13:22 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Feb 2020 18:46:22 +0000 (14 10:46 -0800)
treef8881832cb2e89da9722e2330712db21a406fa62
parent2aaeb9ac414d75f875efa968480db1ce85dc8dc5
bitmap: add bitmap_unset() function

We've never needed to unset an individual bit in a bitmap until now.
Typically they start with all bits unset and we bitmap_set() them, or we
are applying another bitmap as a mask. But the easiest way to apply an
object filter to a bitmap result will be to unset the individual bits.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ewah/bitmap.c
ewah/ewok.h