]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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()`

1  2 
t/unit-tests/t-reftable-basics.c
t/unit-tests/t-reftable-merged.c

Simple merge
Simple merge