Skip to content

Commit a0113de

Browse files
ydaltoncaendesilva
authored andcommitted
.gitattributes: substitute CRLF only in text files
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. Signed-off-by: Caen De Silva <[email protected]>
1 parent 1aa6066 commit a0113de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* text eol=lf
1+
* text=auto eol=lf
22

33
*.blade.php diff=html
44
*.css diff=css

0 commit comments

Comments
 (0)