Effectiveness eol=lf on all text file extensions, in .gitattributes file (#20035)

* Fixed #20023, Added `eol=lf` to `.gitattributes` file.

Signed-off-by: Nabi <nabikaz@gmail.com>

* Fix #20023: Effectiveness eol=lf on all file extensions, in .gitattributes file.

Signed-off-by: Nabi <nabikaz@gmail.com>

---------

Signed-off-by: Nabi <nabikaz@gmail.com>
This commit is contained in:
Nabi KaramAliZadeh
2023-10-24 11:51:28 +03:30
committed by GitHub
parent 80f465a8b2
commit 6c19ba1c77

22
.gitattributes vendored
View File

@@ -1,19 +1,19 @@
# Autodetect text files
* text=auto
* text=auto eol=lf
# ...Unless the name matches the following overriding patterns
# Definitively text files
*.php text eol=lf
*.css text eol=lf
*.js text eol=lf
*.txt text eol=lf
*.md text eol=lf
*.xml text eol=lf
*.json text eol=lf
*.bat text eol=lf
*.sql text eol=lf
*.yml text eol=lf
*.php text
*.css text
*.js text
*.txt text
*.md text
*.xml text
*.json text
*.bat text
*.sql text
*.yml text
# Ensure those won't be messed up with
*.png binary