mirror of
https://github.com/yiisoft/yii2.git
synced 2026-02-20 00:32:19 +01:00
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:
committed by
GitHub
parent
80f465a8b2
commit
6c19ba1c77
22
.gitattributes
vendored
22
.gitattributes
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user