{"thread":{"id":"61674","subject":"[PATCH] doc: fix case error of eol attribute in example","startedAt":"2024-06-23T21:40:20Z","lastAt":"2024-06-23T21:40:20Z","messageCount":1,"participants":["Shane Sun via GitGitGadget"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"497551","messageId":"pull.1736.git.git.1719178817386.gitgitgadget@gmail.com","threadId":"61674","inReplyTo":null,"subject":"[PATCH] doc: fix case error of eol attribute in example","fromName":"Shane Sun via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2024-06-23T21:40:17Z","receivedAt":"2024-06-23T21:40:20Z","isPatch":true,"sender":{"key":"name:Shane Sun","avatar":null},"body":"From: Shane Sun <github@waterlemons2k.com>\n\nThe eol attribute only accepts \"crlf\" and \"lf\",\nbut the example incorrectly capitalizes \"crlf\".\n\nReferences:\n\n- https://git-scm.com/docs/gitattributes#_eol\n- https://github.com/git/git/blob/v2.45.2/convert.c#L1278\n\nSigned-off-by: Shane Sun <github@waterlemons2k.com>\n---\n    doc: fix case error of eol attribute in example\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1736%2FWaterLemons2k%2Ffix-case-error-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1736/WaterLemons2k/fix-case-error-v1\nPull-Request: https://github.com/git/git/pull/1736\n\n Documentation/gitattributes.txt | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt\nindex 80cae17f37d..e6150595af8 100644\n--- a/Documentation/gitattributes.txt\n+++ b/Documentation/gitattributes.txt\n@@ -374,7 +374,7 @@ explicitly define the line endings with `eol` if the `working-tree-encoding`\n attribute is used to avoid ambiguity.\n \n ------------------------\n-*.ps1\t\ttext working-tree-encoding=UTF-16LE eol=CRLF\n+*.ps1\t\ttext working-tree-encoding=UTF-16LE eol=crlf\n ------------------------\n \n You can get a list of all available encodings on your platform with the\n\nbase-commit: 9005149a4a77e2d3409c6127bf4fd1a0893c3495\n-- \ngitgitgadget\n"}]}