diff --git a/src/doc/rustc-dev-guide/.gitattributes b/src/doc/rustc-dev-guide/.gitattributes index fd394480f15c..ba72ee959223 100644 --- a/src/doc/rustc-dev-guide/.gitattributes +++ b/src/doc/rustc-dev-guide/.gitattributes @@ -1,6 +1,9 @@ # Set the default behavior, in case people don't have core.autocrlf set. * text=auto eol=lf +# git grep shouldn't match entries in huge minified javascript +*.min.js binary + # Older git versions try to fix line endings on images, this prevents it. *.png binary *.jpg binary