Something went wrong. Try again.
lol
Something went wrong. Try again.
.gitattributes: manage CRLF handling (#424336)
In certain circumstances, Git will munge line endings when it checks out and commits files. This can result in difficult-to-debug errors when files are changed when they're checked out. To avoid that problem, set .gitattributes such that Git will always use LF line endings for files it detects as text files. *.diff and *.patch files are excluded, as committed patch files may need to patch upstream source code that intentionally uses CRLF line endings. Fixes #423762
Author Adam Dinwoodie Committer GitHub Date (Aug 9, 2025, 10:30 AM UTC) Commit
Copy SHA
Parent e98015f0 e98015f00ed2505f3e633d13cb3d28c4ea647d7e