From 72c888feea2d114d6719da515e9859f76e6b1f11 Mon Sep 17 00:00:00 2001 From: Andreas Weibye <13300393+Weibye@users.noreply.github.com> Date: Fri, 26 Nov 2021 21:05:35 +0000 Subject: [PATCH] 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? --- .gitattributes | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitattributes b/.gitattributes index dc3e2bcdd0..e030b9d97e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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