File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -161,11 +161,12 @@ unspecified.
161
161
162
162
This attribute sets a specific line-ending style to be used in the
163
163
working directory. This attribute has effect only if the `text`
164
- attribute is set or unspecified, or if it is set to `auto` and the file
165
- is detected as text. Note that setting this attribute on paths which
166
- are in the index with CRLF line endings may make the paths to be
167
- considered dirty. Adding the path to the index again will normalize the
168
- line endings in the index.
164
+ attribute is set or unspecified, or if it is set to `auto`, the file is
165
+ detected as text, and it is stored with LF endings in the index. Note
166
+ that setting this attribute on paths which are in the index with CRLF
167
+ line endings may make the paths to be considered dirty unless
168
+ `text=auto` is set. Adding the path to the index again will normalize
169
+ the line endings in the index.
169
170
170
171
Set to string value "crlf"::
171
172
You can’t perform that action at this time.
0 commit comments