]> Kevux Git Server - rit/commit
odb: introduce `odb_for_each_object()`
authorPatrick Steinhardt <ps@pks.im>
Mon, 26 Jan 2026 09:51:23 +0000 (10:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jan 2026 16:26:07 +0000 (08:26 -0800)
commitdf2fbdfa553526062e5234286f60bd643941298a
tree84c0145fb135bea7ff9a23dcddd35f5a05be9bd1
parent736464b84f4439361ec10e9ef49bff674fea952d
odb: introduce `odb_for_each_object()`

Introduce a new function `odb_for_each_object()` that knows to iterate
through all objects part of a given object database. This function is
essentially a simple wrapper around the object database sources.

Subsequent commits will adapt callers to use this new function.

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