about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2018-12-02 11:37:05 +0100
committerGitHub <noreply@github.com>2018-12-02 11:37:05 +0100
commit6253d457e1c558d5580bdd6dfd35cccead31f3ac (patch)
tree7c4a65ace9730edfccea6c65b4b333667a9822b1
parentc669727df4de8a9b155b4ebd389f56cc68fa3b30 (diff)
parent3a7da8b4fa66d08d4da613170ff34bf05bd02e00 (diff)
downloadrust-6253d457e1c558d5580bdd6dfd35cccead31f3ac.tar.gz
rust-6253d457e1c558d5580bdd6dfd35cccead31f3ac.zip
Merge pull request #3484 from phansch/fix_windows_lineendings
git: Enforce LF lineendings for everything
-rw-r--r--.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..45bca848f8f
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
+
+* text=auto eol=lf
+*.rs rust