index-format.txt: mention of v4 is missing in some places
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
dff9f8835f
commit
300e39f6aa
@ -12,7 +12,7 @@ GIT index format
|
|||||||
The signature is { 'D', 'I', 'R', 'C' } (stands for "dircache")
|
The signature is { 'D', 'I', 'R', 'C' } (stands for "dircache")
|
||||||
|
|
||||||
4-byte version number:
|
4-byte version number:
|
||||||
The current supported versions are 2 and 3.
|
The current supported versions are 2, 3 and 4.
|
||||||
|
|
||||||
32-bit number of index entries.
|
32-bit number of index entries.
|
||||||
|
|
||||||
@ -93,8 +93,8 @@ GIT index format
|
|||||||
12-bit name length if the length is less than 0xFFF; otherwise 0xFFF
|
12-bit name length if the length is less than 0xFFF; otherwise 0xFFF
|
||||||
is stored in this field.
|
is stored in this field.
|
||||||
|
|
||||||
(Version 3) A 16-bit field, only applicable if the "extended flag"
|
(Version 3 or later) A 16-bit field, only applicable if the
|
||||||
above is 1, split into (high to low bits).
|
"extended flag" above is 1, split into (high to low bits).
|
||||||
|
|
||||||
1-bit reserved for future
|
1-bit reserved for future
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user