mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
committed by
Facebook Github Bot
parent
9c0f65fc87
commit
799c947cf3
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.bat text eol=crlf
|
Reference in New Issue
Block a user