]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/reader: inline `reader_seek_internal()`
authorPatrick Steinhardt <ps@pks.im>
Mon, 13 May 2024 08:47:21 +0000 (10:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 May 2024 00:04:17 +0000 (17:04 -0700)
commitf1e3c12196b6c91086b58495499db0f4802fa5d1
treefff14cc834879440379cdadcc12fe622ebb7934c
parent81a03a323664d3d14a25e2ef8b29fe52dcef2126
reftable/reader: inline `reader_seek_internal()`

We have both `reader_seek()` and `reader_seek_internal()`, where the
former function only exists so that we can exit early in case the given
table has no records of the sought-after type.

Merge these two functions into one.

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