]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/reader: stop using `ARRAY_SIZE()` macro
authorPatrick Steinhardt <ps@pks.im>
Tue, 18 Feb 2025 09:20:46 +0000 (10:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Feb 2025 18:55:37 +0000 (10:55 -0800)
commit01a587da8cf89f9d6c8c5b19ea3e109efb7c9b7c
treeba150e8f090000263d3315317f2eb360dc81803a
parente676694298c4a8d9f6fdf3844cbfb03bbee552cc
reftable/reader: stop using `ARRAY_SIZE()` macro

We have a single user of the `ARRAY_SIZE()` macro in the reftable
reader. Drop its use to reduce our dependence on the Git codebase.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/reader.c