Skip to content

Commit

Permalink
chore(*): add binary designation for media files (#11569)
Browse files Browse the repository at this point in the history
## Description

This identifies several file extensions as binary in `.gitattributes`. Without this, some systems are treating media files as text and attempting to manipulate the line endings, corrupting the files.
  • Loading branch information
dwalkr authored and DSchau committed Feb 5, 2019
1 parent ec15b04 commit 48cb0ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitattributes
@@ -1 +1,15 @@
* text=auto eol=lf

# These files are binary and should be left untouched
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.ttf binary
*.eot binary
*.woff binary
*.pdf binary

0 comments on commit 48cb0ca

Please sign in to comment.