mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 21:23:05 +00:00
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:
parent
f3d4be316d
commit
72c888feea
1 changed files with 5 additions and 4 deletions
9
.gitattributes
vendored
9
.gitattributes
vendored
|
@ -4,10 +4,11 @@
|
|||
|
||||
# Explicitly declare text files you want to always be normalized and converted
|
||||
# to native line endings on checkout.
|
||||
*.rs text eof=lf
|
||||
*.toml text eof=lf
|
||||
*.frag text
|
||||
*.vert text
|
||||
*.rs text eol=lf
|
||||
*.toml text eol=lf
|
||||
*.frag text eol=lf
|
||||
*.vert text eol=lf
|
||||
*.wgsl text eol=lf
|
||||
|
||||
# Declare files that will always have CRLF line endings on checkout.
|
||||
*.sln text eol=crlf
|
||||
|
|
Loading…
Reference in a new issue