about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes9
1 files changed, 7 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes
index bce42ce79cc..91df4f0eb18 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,7 @@
-# Stop git from showing CRLF tests as modified
-* eol=Unset
+* text=auto eol=lf
+tests/source/issue-3494/crlf.rs -text
+tests/source/comment_crlf_newline.rs -text
+tests/source/configs/enum_discrim_align_threshold/40.rs -text
+tests/target/issue-3494/crlf.rs -text
+tests/target/comment_crlf_newline.rs -text
+tests/target/configs/enum_discrim_align_threshold/40.rs -text