Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix line endings #709

Merged
merged 2 commits into from Dec 18, 2018
Merged

Fix line endings #709

merged 2 commits into from Dec 18, 2018

Conversation

davidfischer
Copy link
Contributor

Unfortunately this is very hard to test but I believe this change will fix the issues with CRLF in the .bat file. Another possibility is simply to remove the line * text eol=lf in .gitattributes.

https://www.git-scm.com/docs/gitattributes
https://help.github.com/articles/dealing-with-line-endings/

Fixes #708.

@davidfischer davidfischer requested review from jessetan, Blendify and a team December 18, 2018 19:41
@Blendify Blendify merged commit ab10feb into master Dec 18, 2018
@stsewd stsewd deleted the davidfischer/fix-line-endings branch December 18, 2018 19:47
@davidfischer
Copy link
Contributor Author

I know I mentioned this is hard to test but I did test this after merging and it does appear to fix the problem.

@jessetan
Copy link
Contributor

I sure hope this helps because I now have the original problem every time I switch branches that did not have this change yet. It should work itself out eventually, but maybe removing * text eol=lf (setting it to auto) would be preferable if it also solves the original issue.

FranzForstmayr pushed a commit to FranzForstmayr/sphinx_rtd_theme that referenced this pull request Apr 25, 2019
* Note that .bat has CRLF endings

* Remove line endings on .bat

It will be normalized correctly on checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

git shows unstaged files after clone
3 participants