.gitattributes: Mark minified emscripten js files as -diff

This prevents the contents of these files showing up in the
output of `git grep`.  This makes git grep much more useful as
these files are minified into a single line which is not human
readable.

Change-Id: I54047fe32d090570fa70935ce108455a47e4d888
Reviewed-on: https://chromium-review.googlesource.com/1232674
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Commit-Queue: Sam Clegg <sbc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56049}
This commit is contained in:
Sam Clegg 2018-09-18 16:03:41 -07:00 committed by Commit Bot
parent 60d6f7c240
commit ba463e55e8

2
.gitattributes vendored
View File

@ -3,3 +3,5 @@
# Do not modify line endings for binary files (which are sometimes auto # Do not modify line endings for binary files (which are sometimes auto
# detected as text files by git). # detected as text files by git).
*.png binary *.png binary
# Don't include minified JS in git grep/diff output
test/mjsunit/asm/sqlite3/*.js -diff