about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCraig Mayhew <craig@mayhew.io>2020-08-17 21:28:12 +0100
committerGitHub <noreply@github.com>2020-08-17 22:28:12 +0200
commit7e203efce89cddf1644f5f2a65ab75df60fff00f (patch)
tree6345d94d12b7bec794626b044a6f3da0d1e064ff
parentf0069dac0046e85b4e944b0e67a064a626b25759 (diff)
downloadrust-7e203efce89cddf1644f5f2a65ab75df60fff00f.tar.gz
rust-7e203efce89cddf1644f5f2a65ab75df60fff00f.zip
Enforce linux style line endings to support WSL (#1073)
* Enforce linux style line endings to support WSL

If you clone in windows, but run under WSL, the line endings cause errors. This enforces linux style line endings.

* Update .gitattributes to use text=auto

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..6313b56c578
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto eol=lf