]> git.99rst.org Git - git.git/commit
odb/source-loose: wire up `write_object()` callback
authorPatrick Steinhardt <redacted>
Mon, 1 Jun 2026 08:20:37 +0000 (10:20 +0200)
committerJunio C Hamano <redacted>
Mon, 1 Jun 2026 09:47:18 +0000 (18:47 +0900)
commit04a6e84cbdbebadd01d939168f1c69680c174fce
tree07123aaa6522b8b87bd6725dc837b38aed6df366
parent87588db131a5c1c33471606860951c9959bbe6ae
odb/source-loose: wire up `write_object()` callback

Move `odb_source_loose_write_object()` from "object-file.c" into
"odb/source-loose.c" and wire it up as the `write_object()` callback of
the loose source.

As in preceding commits, this requires us to expose a couple of generic
functions from "object-file.c" as they are used in both subsystems now.

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