]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/basics: merge "publicbasics" into "basics"
authorPatrick Steinhardt <ps@pks.im>
Wed, 2 Oct 2024 10:55:27 +0000 (12:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Oct 2024 14:53:51 +0000 (07:53 -0700)
commita5a15a4514f45c4ba8e901675951bfe551d77fae
tree2d6f69093c0ca7c1c1f14e1e5809a08939e60cce
parentbcd5a4059a775d9606f714e45486005ef79b0a73
reftable/basics: merge "publicbasics" into "basics"

The split between "basics" and "publicbasics" is somewhat arbitrary and
not in line with how we typically structure code in the reftable
library. While we do indeed split up headers into a public and internal
part, we don't do that for the compilation unit itself. Furthermore, the
declarations for "publicbasics.c" are in "reftable-malloc.h", which
isn't in line with our naming schema, either.

Fix these inconsistencies by:

  - Merging "publicbasics.c" into "basics.c".

  - Renaming "reftable-malloc.h" to "reftable-basics.h" as the public
    header.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
reftable/basics.c
reftable/basics.h
reftable/publicbasics.c [deleted file]
reftable/reftable-basics.h [new file with mode: 0644]
reftable/reftable-malloc.h [deleted file]