summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-08-05 09:44:45 +0200
committerJunio C Hamano <gitster@pobox.com>2026-08-05 09:42:49 -0700
commitb1b008fa2b3c7591ad0094e45fd6fc9b8fac5bff (patch)
tree74e88ce701d594dbf639a51d635e4ee324724b47 /t/t4013/diff.diff_initial..side
parent5b2471720c93ee30e5764a19f3d3b3ae9ec9712a (diff)
odb/streaming: track write stream size in the structure
When passing around a `struct odb_write_stream` we typically also have to pass the number of bytes that the stream will yield. This is required because the object header itself contains that size, and consequently we cannot write the header without that information. Move this information into the stream itself so that it becomes self- describing. In addition to that, this also brings the `struct odb_write_stream` a bit closer to the `struct odb_read_stream` so that we can eventually merge both stream types. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions