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

Windows line endings are changed to Unix line endings #103

Open
petsuter opened this issue Feb 4, 2016 · 1 comment
Open

Windows line endings are changed to Unix line endings #103

petsuter opened this issue Feb 4, 2016 · 1 comment

Comments

@petsuter
Copy link

petsuter commented Feb 4, 2016

json -I changes all Windows line endings (CRLF) to Unix line endings (LF).

Would be nice if it would instead preserve the line endings.

@erikeckhardt
Copy link

I totally agree. At least let me specify line ending in the command line. I need CRLF to not see ugly warnings in git like this:

warning: LF will be replaced by CRLF in yourfile.json.
The file will have its original line endings in your working directory.

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