about summary refs log tree commit diff
path: root/.gitattributes
diff options
context:
space:
mode:
authorCaleb Cartwright <caleb.cartwright@outlook.com>2021-05-14 21:52:28 -0500
committerCaleb Cartwright <caleb.cartwright@outlook.com>2021-05-14 21:52:28 -0500
commit0e61f62bb51f31d8beb2f74673f31dc2fb83bf8d (patch)
tree5753bfc8a2f825c4ea7b8266d3f3c04ba47d5991 /.gitattributes
parent1025db84a68b948139b5adcd55da31bce32da8f3 (diff)
downloadrust-0e61f62bb51f31d8beb2f74673f31dc2fb83bf8d.tar.gz
rust-0e61f62bb51f31d8beb2f74673f31dc2fb83bf8d.zip
add rustfmt crlf files to root gitattributes
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 51a670b5fbe..82599b14503 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