From 7752cbf3b2e9426bdf380e647970a959502eea86 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sun, 2 Dec 2018 01:10:43 +0400 Subject: [PATCH] Fix failing tidy (line endings on Windows) (#246) This happens every time a new doc submodule is added to https://github.com/rust-lang/rust. cc https://github.com/rust-lang/book/pull/549 https://github.com/rust-lang-nursery/reference/pull/36 https://github.com/rust-lang/rust-by-example/pull/1018 --- src/doc/rustc-dev-guide/.gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/doc/rustc-dev-guide/.gitattributes diff --git a/src/doc/rustc-dev-guide/.gitattributes b/src/doc/rustc-dev-guide/.gitattributes new file mode 100644 index 000000000000..d56abbf3047f --- /dev/null +++ b/src/doc/rustc-dev-guide/.gitattributes @@ -0,0 +1,2 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto eol=lf