Commit graph

8 commits

Author SHA1 Message Date
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
Silvan Mosberger ddeb2dfd91 .gitattributes: Mark ci/OWNERS as CODEOWNERS 2024-10-10 01:40:43 +02:00
Daniel Nagy 4855d9a3df
.gitattributes: fix typo 2023-05-01 12:30:00 +02:00
Konstantin Astafurov ca0335c064
chickenPackages_5: Remove ocaml dependency, switch to TOML 2023-04-04 20:15:00 +02:00
Daniel Nagy aab14dc769 sapling: simplify dependency generation script 2022-11-24 14:14:20 -06:00
Matthew Justin Bauer bc7df1734f
gitattributes: disable merge=union in all-packages
This would lead to some merge issues occasionally.
2018-03-27 11:03:03 -05:00
Matthew Justin Bauer 6138169933
.gitattributes: merge=union for all-packages.nix
also module-list.nix
2018-03-22 10:57:38 -05:00
Matthew Bauer af1f5676c9 Add .gitattributes file
This adds the .gitattributes file to the tree. I’ve added two
attributes: linguist-generated, and linguist-documentation.

GitHub’s Linguist will follow this when calculating our language stats
as well as in other cases like commit diffs.

Any additional attributes or other generated files are welcome to be added!
2018-02-23 16:58:00 -06:00