Skip to content

Commit

Permalink
Update gitattributes to force LF (#6386)
Browse files Browse the repository at this point in the history
* Update gitattributes to force LF

* other binary filetypes we host

* add a comment

* force \n on some files
  • Loading branch information
MichaelChirico authored Aug 20, 2024
1 parent b785de6 commit 6ead6aa
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
* -text
*.Rraw linguist-language=R

* text eol=lf
*.ico -text
*.mo -text
*.png -text
*.RData -text
# Important for test CSV files, where we definitely
# want to preserve the line endings robustly
inst/tests/** -text
inst/tests/*.Rraw text eol=lf linguist-language=R

0 comments on commit 6ead6aa

Please sign in to comment.