From 0e61f62bb51f31d8beb2f74673f31dc2fb83bf8d Mon Sep 17 00:00:00 2001 From: Caleb Cartwright Date: Fri, 14 May 2021 21:52:28 -0500 Subject: [PATCH] add rustfmt crlf files to root gitattributes --- .gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitattributes b/.gitattributes index 51a670b5fbefd..82599b1450386 100644 --- a/.gitattributes +++ b/.gitattributes @@ -16,3 +16,11 @@ config.toml.example linguist-language=TOML *.ico binary *.woff binary *.woff2 binary + +# Needed as part of converting rustfmt to a subtree, can hopefully be removed later. +src/tools/rustfmt/tests/source/issue-3494/crlf.rs -text +src/tools/rustfmt/tests/source/comment_crlf_newline.rs -text +src/tools/rustfmt/tests/source/configs/enum_discrim_align_threshold/40.rs -text +src/tools/rustfmt/tests/target/issue-3494/crlf.rs -text +src/tools/rustfmt/tests/target/comment_crlf_newline.rs -text +src/tools/rustfmt/tests/target/configs/enum_discrim_align_threshold/40.rs -text