]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: object_id_len goes up to 31
authorHan-Wen Nienhuys <hanwen@google.com>
Mon, 21 Feb 2022 18:46:04 +0000 (18:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Feb 2022 21:36:26 +0000 (13:36 -0800)
The value is stored in a 5-bit field, so we can't support more without
a format version upgrade.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/reftable.txt

index d7c3b645cfb058d00bcca798a99e51096f56f065..6a67cc4174f820931a25bbd40c83959237b2983c 100644 (file)
@@ -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