# cmd.exe is sensitive to line endings — a build.bat checked out with LF can # misparse labels and multi-line constructs — while sh requires LF regardless # of the platform it is checked out on. *.bat text eol=crlf *.cmd text eol=crlf *.sh text eol=lf # The extraction corpus's committed fixtures. `.doc`/`.xls`/`.ppt` are OLE2 # compound files, `.odt`/`.ods`/`.odp`/`.pptx` zip archives and `.flac` an # audio stream: an EOL filter applied to any of them corrupts the file, and # `text` detection is a heuristic this does not need to rely on. The `.rtf` # is text, kept byte for byte as LibreOffice wrote it. `*.bat` above is # `text eol=crlf` crate-wide, which would otherwise catch the `.bat` the # corpus generates — but that one is written at test time and never enters # git. crates/quicksearch-core/tests/fixtures/**/*.doc binary crates/quicksearch-core/tests/fixtures/**/*.xls binary crates/quicksearch-core/tests/fixtures/**/*.ppt binary crates/quicksearch-core/tests/fixtures/**/*.odt binary crates/quicksearch-core/tests/fixtures/**/*.ods binary crates/quicksearch-core/tests/fixtures/**/*.odp binary crates/quicksearch-core/tests/fixtures/**/*.pptx binary crates/quicksearch-core/tests/fixtures/**/*.rtf -text crates/quicksearch-core/tests/fixtures/**/*.flac binary