diff options
| author | Shane Sun <github@waterlemons2k.com> | 2024-06-23 21:40:17 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-24 21:49:03 -0700 |
| commit | 00f3661a0ad0834e0ba36e650d27dc8787e7acc0 (patch) | |
| tree | dcc1cfaf3b9c459641784cad769953729544c447 | |
| parent | 786a3e4b8d754d2b14b1208b98eeb0a554ef19a8 (diff) | |
| download | git-00f3661a0ad0834e0ba36e650d27dc8787e7acc0.tar.gz | |
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 <github@waterlemons2k.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| -rw-r--r-- | Documentation/gitattributes.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt index 4338d023d9..4370175dcc 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 |
