Skip to content

add .gitattributes for EOL conversion.#9813

Closed
shkit wants to merge 1 commit intopytorch:masterfrom
shkit:add-gitattributes
Closed

add .gitattributes for EOL conversion.#9813
shkit wants to merge 1 commit intopytorch:masterfrom
shkit:add-gitattributes

Conversation

@shkit
Copy link
Contributor

@shkit shkit commented Jul 25, 2018

.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.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

soumith has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@weiyangfb
Copy link
Contributor

@peterjc123 is this good to go?

@peterjc123
Copy link
Collaborator

@weiyangfb Yes, please merge it.

@shkit shkit deleted the add-gitattributes branch August 1, 2018 10:55
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants