]> git.99rst.org Git - git.git/commit
pack-bitmap: mark object filter as `const`
authorPatrick Steinhardt <redacted>
Wed, 15 Jul 2026 06:22:32 +0000 (08:22 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
pack-bitmap.c
pack-bitmap.h
git clone https://git.99rst.org/PROJECT