Skip to content

Commit

Permalink
.gitattributes: substitute CRLF only in text files
Browse files Browse the repository at this point in the history
Changing CRLF to LF makes sense for text files, but not images, where
doing so can lead to file corruption. This commit tells Git to ignore
binary files and only do the substitution in plain text files.

Fixes #239 of hydephp/hyde.
  • Loading branch information
ydalton committed Apr 29, 2024
1 parent c013d93 commit fa349e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* text eol=lf
* text=auto eol=lf

*.blade.php diff=html
*.css diff=css
Expand Down

0 comments on commit fa349e2

Please sign in to comment.