Skip to content

Commit 9556aad

Browse files
committed
Merge branch 'tb/bitmap-type-filter-comment-fix'
In-code comment update. * tb/bitmap-type-filter-comment-fix: pack-bitmap: clarify comment in filter_bitmap_exclude_type()
2 parents 940fe20 + ddcb189 commit 9556aad

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pack-bitmap.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,9 @@ static void filter_bitmap_exclude_type(struct bitmap_index *bitmap_git,
809809
tips = find_tip_objects(bitmap_git, tip_objects, type);
810810

811811
/*
812-
* We can use the blob type-bitmap to work in whole words
813-
* for the objects that are actually in the bitmapped packfile.
812+
* We can use the type-level bitmap for 'type' to work in whole
813+
* words for the objects that are actually in the bitmapped
814+
* packfile.
814815
*/
815816
for (i = 0, init_type_iterator(&it, bitmap_git, type);
816817
i < to_filter->word_alloc && ewah_iterator_next(&mask, &it);
@@ -821,9 +822,9 @@ static void filter_bitmap_exclude_type(struct bitmap_index *bitmap_git,
821822
}
822823

823824
/*
824-
* Clear any blobs that weren't in the packfile (and so would not have
825-
* been caught by the loop above. We'll have to check them
826-
* individually.
825+
* Clear any objects that weren't in the packfile (and so would
826+
* not have been caught by the loop above. We'll have to check
827+
* them individually.
827828
*/
828829
for (i = 0; i < eindex->count; i++) {
829830
uint32_t pos = i + bitmap_git->pack->num_objects;

0 commit comments

Comments
 (0)