diff options
| author | Justin Tobler <jltobler@gmail.com> | 2026-05-14 13:37:39 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-05-15 04:44:40 +0900 |
| commit | 45a75d6187dd8e85470e70aaada6346576333370 (patch) | |
| tree | 023f3c1b45600434d4e3d18bfdc6886cb941d14c /contrib/persistent-https | |
| parent | d4c92e2ac975f256ccc207c65bf46e3be75a2115 (diff) | |
object-file: generalize packfile writes to use odb_write_stream
The `index_blob_packfile_transaction()` function streams blob data
directly from an fd. This makes it difficult to reuse as part of a
generic transactional object writing interface.
Refactor the packfile write path to operate on a `struct
odb_write_stream`, allowing callers to supply data from arbitrary
sources.
Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
