]> git.ipfire.org Git - thirdparty/git.git/commit
pack-bitmap: mark object filter as `const`
authorPatrick Steinhardt <ps@pks.im>
Wed, 15 Jul 2026 06:22:32 +0000 (08:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Jul 2026 14:19:15 +0000 (07:19 -0700)
commit03aaa4f8985ce4813033c1afa36ebec7d7e2a9a1
treea48211ce04a98a2d58f1502e73eb22ea3f2248a5
parent27bed41ebb11ffdfcb79cf74fd4122ac41420f26
pack-bitmap: mark object filter as `const`

The function `for_each_bitmapped_object()` accepts an optional object
filter. This filter is never modified by the function, but is not
declared as `const`. Fix this.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap.c
pack-bitmap.h