]> git.99rst.org Git - git.git/commit
odb: introduce `odb_source_new()`
authorPatrick Steinhardt <redacted>
Mon, 3 Nov 2025 07:41:57 +0000 (08:41 +0100)
committerJunio C Hamano <redacted>
Mon, 3 Nov 2025 20:18:45 +0000 (12:18 -0800)
commit0820a4b120f310d87ac8817ade63896a901c9267
treeae09af4fe9d92824d1fa5ce2eb61f03e52788795
parentf82e430b4e46120e0ef67959e0ef9d8ab9282c56
odb: introduce `odb_source_new()`

We have three different locations where we create a new ODB source.
Deduplicate the logic via a new `odb_source_new()` function.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
odb.c
odb.h
repository.c
git clone https://git.99rst.org/PROJECT