projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a81f0a4
)
.gitattributes: Treat js/css/source maps as binary files
author
rinpatch
<rinpatch@sdf.org>
Tue, 17 Nov 2020 12:38:28 +0000
(15:38 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Tue, 17 Nov 2020 12:38:28 +0000
(15:38 +0300)
This prevents `git grep` from showing the matching line and diffs from
being shown by default.
.gitattributes
patch
|
blob
|
history
diff --git
a/.gitattributes
b/.gitattributes
index c46415a5cc6ad2e81e1649359ad048700e6f4e55..68895bf883004acdbc4f8faa03ae727cd1cb45ae 100644
(file)
--- 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