Enforce linux-style line endings for .rs and .toml (#3197)

# Objective

Fixes #3160 

Unless I'm mistaken, the problem was caused by a simple typo

## Solution

- Fix the typo

Reference documentation: https://git-scm.com/docs/gitattributes#_eol

## Question

Are there other file-types that should be included here?
This commit is contained in:
Andreas Weibye 2021-11-26 21:05:35 +00:00
parent f3d4be316d
commit 72c888feea

9
.gitattributes vendored
View file

@ -4,10 +4,11 @@
# Explicitly declare text files you want to always be normalized and converted # Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout. # to native line endings on checkout.
*.rs text eof=lf *.rs text eol=lf
*.toml text eof=lf *.toml text eol=lf
*.frag text *.frag text eol=lf
*.vert text *.vert text eol=lf
*.wgsl text eol=lf
# Declare files that will always have CRLF line endings on checkout. # Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf *.sln text eol=crlf