mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 05:03:47 +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
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue