From 799c947cf3fc6edd50a78af65fa1342a2be0a5f6 Mon Sep 17 00:00:00 2001 From: Shuichi KITAGUCHI Date: Tue, 31 Jul 2018 18:29:10 -0700 Subject: [PATCH] add .gitattributes for EOL conversion. (#9813) Summary: `.bat` file's EOL is LF, so a build is failed on some Windows machines. To fix this, add `.gitattributes` and set batch file's EOL to CRLF. Discussion is in #9677. Pull Request resolved: https://github.com/pytorch/pytorch/pull/9813 Differential Revision: D9026486 Pulled By: soumith fbshipit-source-id: 341eaa677c35f8476a7eda1bac9827385072eb29 --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000000..cd41d1a02f82 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.bat text eol=crlf