Skip to content

Commit 72c888f

Browse files
committed
Enforce linux-style line endings for .rs and .toml (bevyengine#3197)
# Objective Fixes bevyengine#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?
1 parent f3d4be3 commit 72c888f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.gitattributes

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
# Explicitly declare text files you want to always be normalized and converted
66
# to native line endings on checkout.
7-
*.rs text eof=lf
8-
*.toml text eof=lf
9-
*.frag text
10-
*.vert text
7+
*.rs text eol=lf
8+
*.toml text eol=lf
9+
*.frag text eol=lf
10+
*.vert text eol=lf
11+
*.wgsl text eol=lf
1112

1213
# Declare files that will always have CRLF line endings on checkout.
1314
*.sln text eol=crlf

0 commit comments

Comments
 (0)