]> git.lizzy.rs Git - rust.git/commitdiff
Merge #10313
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 22 Sep 2021 20:04:30 +0000 (20:04 +0000)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 20:04:30 +0000 (20:04 +0000)
10313: Mark large benchmark data files as binary to filter greps r=lnicola a=joshtriplett

When doing a git grep (of rust-analyzer or of rust-lang/rust with
--recurse-submodules), if the grep happens to match within the large
benchmark data files, the resulting long single lines can cause a text
pager or editor to slow down and distract from more useful matches.

These test data files aren't formatted for human consumption, so mark
them as binary, which causes git grep to instead just state that they
match without printing the matching "line".

Co-authored-by: Josh Triplett <josh@joshtriplett.org>

Trivial merge