mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-22 14:57:20 +00:00
8a600e357b
With the current state, our Linux workstations with default configs convert fonts' line endings, and that screws them up. These lines fix this.
38 lines
798 B
Text
38 lines
798 B
Text
# Define the line ending behavior of the different file extensions
|
|
# Set default behaviour, in case users don't have core.autocrlf set.
|
|
* text=auto
|
|
* text eol=lf
|
|
|
|
# Explicitly declare text files we want to always be normalized and converted
|
|
# to native line endings on checkout.
|
|
*.php text
|
|
*.default text
|
|
*.ctp text
|
|
*.sql text
|
|
*.md text
|
|
*.po text
|
|
*.js text
|
|
*.css text
|
|
*.ini text
|
|
*.properties text
|
|
*.txt text
|
|
*.xml text
|
|
*.yml text
|
|
.htaccess text
|
|
|
|
# Declare files that will always have CRLF line endings on checkout.
|
|
*.bat eol=crlf
|
|
|
|
# Declare files that will always have LF line endings on checkout.
|
|
*.pem eol=lf
|
|
|
|
# Denote all files that are truly binary and should not be modified.
|
|
*.png binary
|
|
*.jpg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.mo binary
|
|
*.pdf binary
|
|
*.woff binary
|
|
*.ttf binary
|
|
*.eot binary
|