From 2cb0d7901d0e54e9203ddbcff0100b0bc2fe7a3d Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Fri, 1 Aug 2014 16:54:19 +0000 Subject: [PATCH] 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. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index 97baa70786..a6539be983 100644 --- a/.gitattributes +++ b/.gitattributes @@ -14,6 +14,8 @@ *.jpg -diff binary image *.jpeg -diff binary image *.pbm -diff binary image +*.min.js -diff binary minified +*.min.css -diff binary minified /clients/flex* dfsg-nonfree /debian* debian-ignore /freeswitch.xcodeproj debian-ignore