commit: 9960383925aae6389d1e5730f47f4fb637f363e9
parent a81f0a4a7dd0e9f84662b0868b42df3e3f399287
Author: rinpatch <rinpatch@sdf.org>
Date: Tue, 17 Nov 2020 15:38:28 +0300
.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.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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