diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-03-09 22:38:24 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-09 22:38:24 +0100 |
commit | 4763ccd7f420c7c9451efa5b979af2e79b7e28b4 (patch) | |
tree | a968fe3b87ad7daefac0fddde0515dff24b4457f /Documentation | |
parent | Merge branch 'jc/cat-file-batch-commands' (diff) | |
parent | reftable: rename writer_stats to reftable_writer_stats (diff) | |
download | git-4763ccd7f420c7c9451efa5b979af2e79b7e28b4.tar.xz git-4763ccd7f420c7c9451efa5b979af2e79b7e28b4.zip |
Merge branch 'hn/reftable-no-empty-keys'
General clean-up in reftable implementation, including
clarification of the API documentation, tightening the code to
honor documented length limit, etc.
* hn/reftable-no-empty-keys:
reftable: rename writer_stats to reftable_writer_stats
reftable: add test for length of disambiguating prefix
reftable: ensure that obj_id_len is >= 2 on writing
reftable: avoid writing empty keys at the block layer
reftable: add a test that verifies that writing empty keys fails
reftable: reject 0 object_id_len
Documentation: object_id_len goes up to 31
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/technical/reftable.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/technical/reftable.txt b/Documentation/technical/reftable.txt index d7c3b645cf..6a67cc4174 100644 --- a/Documentation/technical/reftable.txt +++ b/Documentation/technical/reftable.txt @@ -443,7 +443,7 @@ Obj block format Object blocks are optional. Writers may choose to omit object blocks, especially if readers will not use the object name to ref mapping. -Object blocks use unique, abbreviated 2-32 object name keys, mapping to +Object blocks use unique, abbreviated 2-31 byte object name keys, mapping to ref blocks containing references pointing to that object directly, or as the peeled value of an annotated tag. Like ref blocks, object blocks use the file's standard block size. The abbreviation length is available in |