diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-03-05 15:19:54 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-05 11:45:16 -0800 |
| commit | fc7fb0ef3575091bbc00d6bf8345c2da0c386052 (patch) | |
| tree | 1420b8f3f2519ca4ad977d367bd84c6bf1fb6f89 /odb.c | |
| parent | 6e76c3ab69f9b30530d50550a2feb7d8bda935db (diff) | |
| download | git-fc7fb0ef3575091bbc00d6bf8345c2da0c386052.tar.xz | |
odb/source: make `write_object_stream()` function pluggable
Introduce a new callback function in `struct odb_source` to make the
function pluggable.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'odb.c')
| -rw-r--r-- | odb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1013,7 +1013,7 @@ int odb_write_object_stream(struct object_database *odb, struct odb_write_stream *stream, size_t len, struct object_id *oid) { - return odb_source_loose_write_stream(odb->sources, stream, len, oid); + return odb_source_write_object_stream(odb->sources, stream, len, oid); } struct object_database *odb_new(struct repository *repo, |
