Documentation: object_id_len goes up to 31
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>
Han-Wen Nienhuys committed
Feb 21, 2022 at 18:46 UTC
fa48de62ac00bdd634ea5bcd5b1a6bccfa4d9117
1 file changed
+1
-1
Documentation/technical/reftable.txt
+1
-1
@@ -443,7 +443,7 @@ Obj block format
443
Object blocks are optional. Writers may choose to omit object blocks,
444
especially if readers will not use the object name to ref mapping.
445
446
-Object blocks use unique, abbreviated 2-32 object name keys, mapping to
446
+Object blocks use unique, abbreviated 2-31 byte object name keys, mapping to
447
ref blocks containing references pointing to that object directly, or as
448
the peeled value of an annotated tag. Like ref blocks, object blocks use
449
the file's standard block size. The abbreviation length is available in