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).
This commit is contained in:
Philipp Hansch 2018-12-02 10:57:56 +01:00
parent c669727df4
commit 3a7da8b4fa
No known key found for this signature in database
GPG key ID: B6FA06A6E0E2665B

4
.gitattributes vendored Normal file
View file

@ -0,0 +1,4 @@
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
* text=auto eol=lf
*.rs rust