Skip to content

Commit 3a7da8b

Browse files
committed
Enforce LF lineendings for everything
Someone on discord reported issues with UI tests. This should make sure that git never automatically converts lineendings for text files to `CRLF`. They should always be `LF` now. Probably this means that we can stop using dos2unix for #3306, too. Taken from [Rust's .gitattributes file](https://github.com/rust-lang/rust/blob/master/.gitattributes).
1 parent c669727 commit 3a7da8b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
2+
3+
* text=auto eol=lf
4+
*.rs rust

0 commit comments

Comments
 (0)