]> git.ipfire.org Git - thirdparty/git.git/commit - pack-bitmap.c
pack-bitmap: clarify comment in filter_bitmap_exclude_type()
authorTaylor Blau <me@ttaylorr.com>
Tue, 20 Jul 2021 20:16:22 +0000 (16:16 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Jul 2021 22:04:07 +0000 (15:04 -0700)
commitddcb189d9d03f36c962570c635de109d3bc59dfc
treeea7393fb63ad54e38934a21aed9d95d00ecc0179
parent9639474b6dd126bae29dba70e2fbe11169d60e20
pack-bitmap: clarify comment in filter_bitmap_exclude_type()

The code that eventually became filter_bitmap_exclude_type() was
originally introduced in 4f3bd5606a (pack-bitmap: implement BLOB_NONE
filtering, 2020-02-14) to accelerate BLOB_NONE filters with bitmaps.

In 856e12c18a (pack-bitmap.c: make object filtering functions generic,
2020-05-04), it became filter_bitmap_exclude_type(). But not all of the
comments were updated to be agnostic to the provided type.

Remove the remaining comments which should have been updated in
856e12c18a to reflect the type-agnostic nature of the function.

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