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
This commit is contained in:
Shuichi KITAGUCHI
2018-07-31 18:29:10 -07:00
committed by Facebook Github Bot
parent 9c0f65fc87
commit 799c947cf3

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.bat text eol=crlf