Skip to content

Commit 6db0a08

Browse files
committed
Mark mermaid.min.js as binary so it doesn't show up in grep
mermaid.min.js contains a giant blob of minified JavaScript. If a `git grep` happens to match inside it, it'll display the entire file as a result, disrupting the ability to grep for anything else. Use `.gitattributes` to mark it as binary, so it just shows up as "Binary file mermaid.min.js matches" instead.
1 parent c6c1fde commit 6db0a08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Not useful to get grep results from
2+
mermaid.min.js binary

0 commit comments

Comments
 (0)