Merge branch 'bc/clarify-eol-attr'
Doc and test update around the eol attribute. * bc/clarify-eol-attr: docs: correct documentation about eol attribute t0027: add tests for eol without text in .gitattributes
This commit is contained in:
@ -160,11 +160,12 @@ unspecified.
|
||||
^^^^^
|
||||
|
||||
This attribute sets a specific line-ending style to be used in the
|
||||
working directory. It enables end-of-line conversion without any
|
||||
content checks, effectively setting the `text` attribute. Note that
|
||||
setting this attribute on paths which are in the index with CRLF line
|
||||
endings may make the paths to be considered dirty. Adding the path to
|
||||
the index again will normalize the line endings in the index.
|
||||
working directory. This attribute has effect only if the `text`
|
||||
attribute is set or unspecified, or if it is set to `auto` and the file
|
||||
is detected as text. Note that setting this attribute on paths which
|
||||
are in the index with CRLF line endings may make the paths to be
|
||||
considered dirty. Adding the path to the index again will normalize the
|
||||
line endings in the index.
|
||||
|
||||
Set to string value "crlf"::
|
||||
|
||||
|
Reference in New Issue
Block a user