git/t/unit-tests
Patrick Steinhardt b1b008fa2b 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>
2026-08-05 09:42:49 -07:00
..
clar
.gitignore
generate-clar-decls.sh
generate-clar-suites.sh
lib-oid.c
lib-oid.h
lib-reftable.c
lib-reftable.h
test-lib.c
test-lib.h
u-ctype.c
u-dir.c
u-example-decorate.c
u-hash.c hash: use git_hash_init() consistently 2026-07-07 21:56:00 -07:00
u-hashmap.c
u-list-objects-filter-options.c
u-mem-pool.c
u-odb-inmemory.c odb/streaming: track write stream size in the structure 2026-08-05 09:42:49 -07:00
u-oid-array.c
u-oidmap.c
u-oidtree.c
u-prio-queue.c
u-reftable-basics.c
u-reftable-block.c reftable/block: fix OOB read with bogus restart offset 2026-07-03 11:08:03 -07:00
u-reftable-merged.c
u-reftable-pq.c
u-reftable-readwrite.c
u-reftable-record.c
u-reftable-stack.c
u-reftable-table.c Merge branch 'ps/reftable-hardening' 2026-07-19 10:42:15 -07:00
u-reftable-tree.c
u-strbuf.c
u-strcmp-offset.c
u-string-list.c
u-strvec.c
u-trailer.c
u-urlmatch-normalization.c
u-utf8-width.c
unit-test.c
unit-test.h