Merge branch 'ps/reftable-drop-generic'
commitd4d677704d74db389d2f56975794cd85acb8181f
authorJunio C Hamano <gitster@pobox.com>
Thu, 29 Aug 2024 18:08:15 +0000 (29 11:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Aug 2024 18:08:16 +0000 (29 11:08 -0700)
treec5106f13995266db81b81552933d00e0206194ee
parent17d4b10aea6bda2027047a0e3548a6f8ad667dde
parente49d2472d2320d370b34c7fcdde933660c47968b
Merge branch 'ps/reftable-drop-generic'

The code in the reftable library has been cleaned up by discarding
unused "generic" interface.

* ps/reftable-drop-generic:
  reftable: mark unused parameters in empty iterator functions
  reftable/generic: drop interface
  t/helper: refactor to not use `struct reftable_table`
  t/helper: use `hash_to_hex_algop()` to print hashes
  t/helper: inline printing of reftable records
  t/helper: inline `reftable_table_print()`
  t/helper: inline `reftable_stack_print_directory()`
  t/helper: inline `reftable_reader_print_file()`
  t/helper: inline `reftable_dump_main()`
  reftable/dump: drop unused `compact_stack()`
  reftable/generic: move generic iterator code into iterator interface
  reftable/iter: drop double-checking logic
  reftable/stack: open-code reading refs
  reftable/merged: stop using generic tables in the merged table
  reftable/merged: rename `reftable_new_merged_table()`
  reftable/merged: expose functions to initialize iterators
Makefile
reftable/iter.c
reftable/record.c
reftable/reftable-tests.h
reftable/stack_test.c
t/helper/test-reftable.c
t/unit-tests/t-reftable-merged.c