Treat minified files as binary for git

This prevents e.g. `git log -p` from showing the content changes in
these files by default, which is what we want because line-oriented
diffs of these files are meaningless.
This commit is contained in:
Travis Cross 2014-08-01 16:54:19 +00:00
parent ae32aafb0b
commit 2cb0d7901d
1 changed files with 2 additions and 0 deletions

2
.gitattributes vendored
View File

@ -14,6 +14,8 @@
*.jpg -diff binary image *.jpg -diff binary image
*.jpeg -diff binary image *.jpeg -diff binary image
*.pbm -diff binary image *.pbm -diff binary image
*.min.js -diff binary minified
*.min.css -diff binary minified
/clients/flex* dfsg-nonfree /clients/flex* dfsg-nonfree
/debian* debian-ignore /debian* debian-ignore
/freeswitch.xcodeproj debian-ignore /freeswitch.xcodeproj debian-ignore