1
0
mirror of https://github.com/git/git.git synced 2024-10-20 11:08:12 +02:00
git/reftable
Han-Wen Nienhuys 45c2fcc2a0 reftable: avoid writing empty keys at the block layer
The public interface (reftable_writer) already ensures that keys are
written in strictly increasing order, and an empty key by definition
fails this check.

However, by also enforcing this at the block layer, it is easier to
verify that records (which are written into blocks) never have to
consider the possibility of empty keys.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-02-23 13:36:26 -08:00
..
basics_test.c
basics.c
basics.h
block_test.c reftable: avoid writing empty keys at the block layer 2022-02-23 13:36:26 -08:00
block.c reftable: avoid writing empty keys at the block layer 2022-02-23 13:36:26 -08:00
block.h
blocksource.c
blocksource.h
constants.h
dump.c
error.c
generic.c
generic.h
iter.c
iter.h
LICENSE
merged_test.c
merged.c
merged.h
pq_test.c
pq.c
pq.h
publicbasics.c
reader.c reftable: reject 0 object_id_len 2022-02-23 13:36:26 -08:00
reader.h
readwrite_test.c reftable: add a test that verifies that writing empty keys fails 2022-02-23 13:36:26 -08:00
record_test.c reftable: add print functions to the record types 2022-01-20 11:31:53 -08:00
record.c reftable: add print functions to the record types 2022-01-20 11:31:53 -08:00
record.h reftable: add print functions to the record types 2022-01-20 11:31:53 -08:00
refname_test.c
refname.c
refname.h
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
stack_test.c Merge branch 'hn/reftable-coverity-fixes' 2022-02-16 15:14:28 -08:00
stack.c Merge branch 'hn/reftable-coverity-fixes' 2022-02-16 15:14:28 -08:00
stack.h
system.h compat: auto-detect if zlib has uncompress2() 2022-01-26 09:05:55 -08:00
test_framework.c
test_framework.h
tree_test.c
tree.c
tree.h
writer.c reftable: avoid writing empty keys at the block layer 2022-02-23 13:36:26 -08:00
writer.h