Files
nixpkgs/.gitattributes
Adam Dinwoodie c17d64d646 .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
2025-08-09 10:30:01 +00:00

1.9 KiB