Show line ending style in diffs in the GitHub web UI (LF / CRLF / CR) #209646
Unanswered
froh
asked this question in
Pull Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
Body
I’d like GitHub’s web UI to display the line ending style used in a file, per file and, also during review (line ending changes, desired and haphazard ones).
Why this matters:
Suggested behavior:
Example use case:
A cross-platform team working across Windows, macOS, and Linux needs to quickly confirm whether a file is using LF or CRLF and whether it was changed according to policy, without cloning the repository locally.
Related:
Git already helps with line-ending normalization through Git configuration and
.gitattributes..editorconfig also prescribes desired line endings.
All reactions