diff mbox series

doc: fix case error of eol attribute in example

Message ID pull.1736.git.git.1719178817386.gitgitgadget@gmail.com (mailing list archive)
State Accepted
Commit 00f3661a0ad0834e0ba36e650d27dc8787e7acc0
Headers show
Series doc: fix case error of eol attribute in example | expand

Commit Message

Shane Sun June 23, 2024, 9:40 p.m. UTC
From: Shane Sun <github@waterlemons2k.com>

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 <github@waterlemons2k.com>
---
    doc: fix case error of eol attribute in example

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1736%2FWaterLemons2k%2Ffix-case-error-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1736/WaterLemons2k/fix-case-error-v1
Pull-Request: https://github.com/git/git/pull/1736

 Documentation/gitattributes.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 9005149a4a77e2d3409c6127bf4fd1a0893c3495
diff mbox series

Patch

diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index 80cae17f37d..e6150595af8 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -374,7 +374,7 @@  explicitly define the line endings with `eol` if the `working-tree-encoding`
 attribute is used to avoid ambiguity.
 
 ------------------------
-*.ps1		text working-tree-encoding=UTF-16LE eol=CRLF
+*.ps1		text working-tree-encoding=UTF-16LE eol=crlf
 ------------------------
 
 You can get a list of all available encodings on your platform with the