-
Notifications
You must be signed in to change notification settings - Fork 23.9k
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
CRLF Line Endings #397
Comments
Would be good to add a .gitattributes file |
Love a PR! <3 |
How so? Any half decent library/tool that parses files should already have the capability of seamlessly parsing CRLF or LF endings. If you can point a specific example I think this could be fixed with a CI/CD pipeline using a Github Action. |
Hello.
I have noticed that the line endings in 212 of the 5144
.txt
files are CRLF. I guess this is by accident and not intended? I find it can make scripting a little more inconvenient when reading these files as there is one more item to think about.Usually, the GIT approach would be to rely on
core.autocrlf
or.gitattributes
to manage the translation. That is, store with LF endings, and allow git to add CRLF during checkout when needed, e.g. on Windows.If its ok, I can submit a simple PR that adds a
.gitattributes
file (to help standardise future commits) and standardise the existing line endings by runningdos2unix
on them?The text was updated successfully, but these errors were encountered: