Commit Graph

3 Commits

Author SHA1 Message Date
Josh Triplett c84821c697 .gitattributes: Mark minified javascript as binary to filter greps
When doing a git grep (of rustc-dev-guide or of rust-lang/rust with
--recurse-submodules), if the grep happens to match within the minified
javascript, the resulting long single lines can cause a text pager or
editor to slow down and distract from more useful matches.

Minified javascript isn't formatted for human consumption, by
definition, so mark it as binary, which causes git grep to instead just
state that it matches without printing the matching "line".
2022-10-07 18:34:51 +02:00
jethrogb ab422e8ac7 Update .gitattributes
See https://github.com/rust-lang/rust/pull/57858
2020-01-13 22:15:32 -06:00
Vadim Petrochenkov a23b17ca14 Fix failing tidy (line endings on Windows) (#246)
This happens every time a new doc submodule is added to https://github.com/rust-lang/rust.
cc https://github.com/rust-lang/book/pull/549 https://github.com/rust-lang-nursery/reference/pull/36 https://github.com/rust-lang/rust-by-example/pull/1018
2018-12-01 15:10:43 -06:00