Skip to content

Conversation

@nicopop
Copy link
Contributor

@nicopop nicopop commented Jan 9, 2025

You probably noticed in some of my prs that the files diffs were sometime broken,
it was caused by line ending types being different on the github vs the one in the PR
this pr Should normalize the line ending of all files and thus fix future prs for everyone since this includes a .gitatribute file
By adding that file it also makes it so we dont need to tell devs to turn on core.autocrlf true

The diff might still break next time someone push a change in any of the normalized file unless they checkout the main after this merges

before (notice some of the file are crlf in the (i)ndex column)

image

after (all the files are lf in the (i)ndex column

image

@nicopop nicopop self-assigned this Jan 9, 2025
@silasary silasary merged commit f202923 into main Jan 12, 2025
@silasary silasary deleted the LineEndingNormalization branch January 12, 2025 04:52
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.

4 participants