git/reftable
Elijah Newren d1cbe1e6d8 hash-ll.h: split out of hash.h to remove dependency on repository.h
hash.h depends upon and includes repository.h, due to the definition and
use of the_hash_algo (defined as the_repository->hash_algo).  However,
most headers trying to include hash.h are only interested in the layout
of the structs like object_id.  Move the parts of hash.h that do not
depend upon repository.h into a new file hash-ll.h (the "low level"
parts of hash.h), and adjust other files to use this new header where
the convenience inline functions aren't needed.

This allows hash.h and object.h to be fairly small, minimal headers.  It
also exposes a lot of hidden dependencies on both path.h (which was
brought in by repository.h) and repository.h (which was previously
implicitly brought in by object.h), so also adjust other files to be
more explicit about what they depend upon.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-04-24 12:47:32 -07:00
..
LICENSE
basics.c
basics.h
basics_test.c
block.c reftable: avoid writing empty keys at the block layer 2022-02-23 13:36:26 -08:00
block.h
block_test.c reftable: avoid writing empty keys at the block layer 2022-02-23 13:36:26 -08:00
blocksource.c Merge branch 'cm/reftable-0-length-memset' 2022-05-04 09:51:29 -07:00
blocksource.h
constants.h
dump.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
error.c
generic.c reftable: make assignments portable to AIX xlc v12.01 2022-03-28 13:58:10 -07:00
generic.h
iter.c
iter.h
merged.c reftable: use a pointer for pq_entry param 2022-09-15 11:32:37 -07:00
merged.h
merged_test.c
pq.c reftable: use a pointer for pq_entry param 2022-09-15 11:32:37 -07:00
pq.h reftable: use a pointer for pq_entry param 2022-09-15 11:32:37 -07:00
pq_test.c reftable: use a pointer for pq_entry param 2022-09-15 11:32:37 -07:00
publicbasics.c
reader.c reftable: drop unused parameter from reader_seek_linear() 2022-08-20 14:14:55 -07:00
reader.h
readwrite_test.c reftable: rename writer_stats to reftable_writer_stats 2022-02-23 13:36:26 -08:00
record.c
record.h
record_test.c reftable: make assignments portable to AIX xlc v12.01 2022-03-28 13:58:10 -07:00
refname.c
refname.h
refname_test.c
reftable-blocksource.h
reftable-error.h
reftable-generic.h
reftable-iterator.h
reftable-malloc.h
reftable-merged.h
reftable-reader.h
reftable-record.h
reftable-stack.h
reftable-tests.h
reftable-writer.h reftable: rename writer_stats to reftable_writer_stats 2022-02-23 13:36:26 -08:00
stack.c Merge branch 'hn/reftable-coverity-fixes' 2022-02-16 15:14:28 -08:00
stack.h
stack_test.c Merge branch 'ep/maint-equals-null-cocci' 2022-05-20 15:26:59 -07:00
system.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
test_framework.c
test_framework.h
tree.c tree-wide: apply equals-null.cocci 2022-05-02 10:09:21 -07:00
tree.h
tree_test.c
writer.c Merge branch 'ep/maint-equals-null-cocci' 2022-05-20 15:26:59 -07:00
writer.h