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

Convert to Unix line endings instead of Windows line endings? #2

Closed
Gabriella439 opened this issue May 15, 2016 · 2 comments
Closed

Comments

@Gabriella439
Copy link
Contributor

By default, git on Windows is configured to convert to Unix line endings when pushing the code and to convert back to Windows line endings when pulling the code. However, for some reason this repository has Windows line endings (perhaps because you have an unusual git configuration), which means that anybody who checks out the code on a Unix platform will have to deal with Windows line endings (typically by running the dos2unix program on every project file, which is what I did).

Normally I wouldn't care what line endings a project is written in if I'm just using the project as a dependency. However, the purpose of this project is to be forked and modified, in which case the line endings matter because the code is designed to be modified.

@mbg
Copy link
Owner

mbg commented May 16, 2016

I think I have changed this now in 0156796, although I am not quite sure how this happened in the first place. As far as I can tell, git on my Windows machine is configured to covert to LF automatically (core.autocrlf is set to true)

@mbg mbg closed this as completed May 16, 2016
@Gabriella439
Copy link
Contributor Author

Thanks! :)

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

No branches or pull requests

2 participants