diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-02-09 14:40:46 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-09 14:40:46 -0800 |
commit | 2c91b13751308f47043f23d224dbc1215e42f16b (patch) | |
tree | 3c86f423eabe23cd01e29bd6308fc8f6e6d31c18 | |
parent | 7876265d61cebef91f5b26db2dceab0fb95cfa3d (diff) | |
parent | 3a2ebaebc76b302629a5789696d67a0ce2c4378e (diff) |
Merge branch 'gc/index-format-doc'
Doc update.
* gc/index-format-doc:
docs: document zero bits in index "mode"
-rw-r--r-- | Documentation/gitformat-index.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/gitformat-index.txt b/Documentation/gitformat-index.txt index 015cb21bdc..0773e5c380 100644 --- a/Documentation/gitformat-index.txt +++ b/Documentation/gitformat-index.txt @@ -83,11 +83,13 @@ Git index format 32-bit mode, split into (high to low bits) + 16-bit unused, must be zero + 4-bit object type valid values in binary are 1000 (regular file), 1010 (symbolic link) and 1110 (gitlink) - 3-bit unused + 3-bit unused, must be zero 9-bit unix permission. Only 0755 and 0644 are valid for regular files. Symbolic links and gitlinks have value 0 in this field. |