]> git.lizzy.rs Git - rust.git/commit
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)
commit075fe761f393c0445bc375175eaa52164bbdc728
treefd47bdd894610caf16c3d766bb85a97d6041a1ad
parent8a82e6c492a27c0b366e4373426a18a32db130d2
parentdfd28c17644a773cdbe64675507be4096d6691c9
Merge #10313

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>