Skip to content

Commit 00f3661

Browse files
WaterLemons2kgitster
authored andcommitted
doc: fix case error of eol attribute in example
The eol attribute only accepts "crlf" and "lf", but the example incorrectly capitalizes "crlf". References: - https://git-scm.com/docs/gitattributes#_eol - https://github.com/git/git/blob/v2.45.2/convert.c#L1278 Signed-off-by: Shane Sun <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 786a3e4 commit 00f3661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/gitattributes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ explicitly define the line endings with `eol` if the `working-tree-encoding`
374374
attribute is used to avoid ambiguity.
375375

376376
------------------------
377-
*.ps1 text working-tree-encoding=UTF-16LE eol=CRLF
377+
*.ps1 text working-tree-encoding=UTF-16LE eol=crlf
378378
------------------------
379379

380380
You can get a list of all available encodings on your platform with the

0 commit comments

Comments
 (0)