]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/reftable-strbuf'
authorTaylor Blau <me@ttaylorr.com>
Wed, 30 Oct 2024 17:08:01 +0000 (13:08 -0400)
committerTaylor Blau <me@ttaylorr.com>
Wed, 30 Oct 2024 17:08:01 +0000 (13:08 -0400)
commitbc627658b06155a0b1c3d0b1b0bf72db70770dc9
treeddb335401e63360a7220dd087b55f62f04cc0987
parent6a11438f43469f3815f2f0fc997bd45792ff04c0
parent20590cd287ada9c96efdf804e2bcdac0117c01b8
Merge branch 'ps/reftable-strbuf'

Implements a new reftable-specific strbuf replacement to reduce
reftable's dependency on Git-specific data structures.

* ps/reftable-strbuf:
  reftable: handle trivial `reftable_buf` errors
  reftable/stack: adapt `stack_filename()` to handle allocation failures
  reftable/record: adapt `reftable_record_key()` to handle allocation failures
  reftable/stack: adapt `format_name()` to handle allocation failures
  t/unit-tests: check for `reftable_buf` allocation errors
  reftable/blocksource: adapt interface name
  reftable: convert from `strbuf` to `reftable_buf`
  reftable/basics: provide new `reftable_buf` interface
  reftable: stop using `strbuf_addf()`
  reftable: stop using `strbuf_addbuf()`
t/unit-tests/t-reftable-basics.c
t/unit-tests/t-reftable-merged.c