Skip to content

Check and fix line endings across all files. #18

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

Open
chaturatbs opened this issue Nov 23, 2018 · 2 comments · May be fixed by #108
Open

Check and fix line endings across all files. #18

chaturatbs opened this issue Nov 23, 2018 · 2 comments · May be fixed by #108

Comments

@chaturatbs
Copy link
Contributor

Currently some of the files have windows style line endings. This will need to be normalised acorss the project to either CR+LF or LF

@chaturatbs chaturatbs changed the title Check line endings across all files. Check and fixline endings across all files. Nov 23, 2018
@chaturatbs chaturatbs changed the title Check and fixline endings across all files. Check and fix line endings across all files. Nov 23, 2018
@chaturatbs
Copy link
Contributor Author

Check if project-wide line endings can be enforces with .gitattributes (or otherwise)

@KomaGR
Copy link
Member

KomaGR commented Feb 10, 2023

Here's how to find these files

find . -not -type d -exec file "{}" ";" | grep CRLF

I counted 694 files with wc -l (all under ksdk1.1.0/). Haven't found how to automate fixing.

KomaGR added a commit to KomaGR/Warp-firmware that referenced this issue Feb 10, 2023
KomaGR added a commit to KomaGR/Warp-firmware that referenced this issue Feb 10, 2023
@KomaGR KomaGR linked a pull request Feb 10, 2023 that will close this issue
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 a pull request may close this issue.

2 participants