.gitattributes: Treat js/css/source maps as binary files

This prevents `git grep` from showing the matching line and diffs from
being shown by default.
This commit is contained in:
rinpatch 2020-11-17 15:38:28 +03:00
parent a81f0a4a7d
commit 9960383925

6
.gitattributes vendored
View file

@ -1,2 +1,8 @@
*.ex diff=elixir
*.exs diff=elixir
# At the time of writing all js/css files included
# in the repo are minified bundles, and we don't want
# to search/diff those as text files.
*.js binary
*.js.map binary
*.css binary