Skip to content

Commit 2c91b13

Browse files
committed
Merge branch 'gc/index-format-doc'
Doc update. * gc/index-format-doc: docs: document zero bits in index "mode"
2 parents 7876265 + 3a2ebae commit 2c91b13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/gitformat-index.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,13 @@ Git index format
8383

8484
32-bit mode, split into (high to low bits)
8585

86+
16-bit unused, must be zero
87+
8688
4-bit object type
8789
valid values in binary are 1000 (regular file), 1010 (symbolic link)
8890
and 1110 (gitlink)
8991

90-
3-bit unused
92+
3-bit unused, must be zero
9193

9294
9-bit unix permission. Only 0755 and 0644 are valid for regular files.
9395
Symbolic links and gitlinks have value 0 in this field.

0 commit comments

Comments
 (0)