diff options
author | rinpatch <rinpatch@sdf.org> | 2020-11-17 15:38:28 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-11-17 15:38:28 +0300 |
commit | 9960383925aae6389d1e5730f47f4fb637f363e9 (patch) | |
tree | 6a5caee04221c030cdaf768046d1cfc70ee29c3b | |
parent | a81f0a4a7dd0e9f84662b0868b42df3e3f399287 (diff) | |
download | pleroma-9960383925aae6389d1e5730f47f4fb637f363e9.tar.gz |
.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.
-rw-r--r-- | .gitattributes | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index c46415a5c..68895bf88 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 |