Skip to content

Commit

Permalink
add .gitattributes for EOL conversion. (pytorch#9813)
Browse files Browse the repository at this point in the history
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 pytorch#9677.
Pull Request resolved: pytorch#9813

Differential Revision: D9026486

Pulled By: soumith

fbshipit-source-id: 341eaa677c35f8476a7eda1bac9827385072eb29
  • Loading branch information
shkit authored and facebook-github-bot committed Aug 1, 2018
1 parent 9c0f65f commit 799c947
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.bat text eol=crlf

0 comments on commit 799c947

Please sign in to comment.