]> git.ipfire.org Git - thirdparty/git.git/commit
odb/source-loose: wire up `write_object_stream()` callback
authorPatrick Steinhardt <ps@pks.im>
Mon, 1 Jun 2026 08:20:39 +0000 (10:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2026 09:47:19 +0000 (18:47 +0900)
commite6a39bbe7a6bde5fb7de8d487e8f4ef928e6b751
treecc0134d3bd8f66e76de8e787752a8c95f82ff40f
parentb9906a645c38ef77643d661ac9a5a6aa31fbeaf4
odb/source-loose: wire up `write_object_stream()` callback

Wire up the `write_object_stream()` callback.

Note that we don't move the implementation into "odb/source-loose.c".
This is because most of the logic to write loose objects is still
contained in "object-file.c", and detangling that requires us to do some
refactorings as explained in the preceding commit. So for now, the
implementation of writing an object stream is still located in
"object-file.c".

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