.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:
parent
a81f0a4a7d
commit
9960383925
1 changed files with 6 additions and 0 deletions
6
.gitattributes
vendored
6
.gitattributes
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue