Update .gitattributes to be consistent with .editorconfig

This commit is contained in:
Sebastian Meyer 2019-12-04 16:03:27 +01:00
parent 2867d31b07
commit 1faf2169b4
1 changed files with 21 additions and 11 deletions

32
.gitattributes vendored
View File

@ -1,14 +1,24 @@
# Auto detect text files and perform LF normalization # Auto detect text files and perform LF normalization
* text=auto * text=auto
# Standard to msysgit # Enforce checkout with linux lf consistent over all platforms
*.doc diff=astextplain *.cfg text eol=lf
*.DOC diff=astextplain *.css text eol=lf
*.docx diff=astextplain *.htaccess text eol=lf
*.DOCX diff=astextplain *.js text eol=lf
*.dot diff=astextplain *.json text eol=lf
*.DOT diff=astextplain *.md text eol=lf
*.pdf diff=astextplain *.php text eol=lf
*.PDF diff=astextplain *.rst text eol=lf
*.rtf diff=astextplain *.sql text eol=lf
*.RTF diff=astextplain *.svg text eol=lf
*.tmpl text eol=lf
*.ts text eol=lf
*.tsconfig text eol=lf
*.txt text eol=lf
*.typoscript text eol=lf
*.xlf text eol=lf
*.xml text eol=lf
*.xsl text eol=lf
*.yaml text eol=lf
*.yml text eol=lf