Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Mark huge rls-analysis test data files as binary to filter greps #1732

Merged
merged 1 commit into from
May 3, 2021

Commits on Apr 30, 2021

  1. 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".
    joshtriplett committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    533d567 View commit details
    Browse the repository at this point in the history