mirror of https://github.com/rust-lang/rls
Mark huge rls-analysis test data files as binary to filter greps
When doing a `git grep` (of rls or of rust-lang/rust with `--recurse-submodules`), if the grep happens to match within the huge rls-analysis test data files, the resulting multi-megabyte single-line can cause a text pager to grind to a halt and have trouble scrolling (especially scrolling backwards). These test data files are autogenerated and 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".
This commit is contained in:
parent
74d1800c25
commit
533d567e47
|
@ -0,0 +1,2 @@
|
|||
rls-analysis/test_data/rls-analysis/*.json binary
|
||||
rls-analysis/test_data/rust-analysis/*.json binary
|
Loading…
Reference in New Issue