# List any file patterns that are text and should have line endings
# normalized, i.e. convert crlf => lf
.dockerignore   text
.editorconfig   text
.gitattributes  text
.gitignore      text
.project        text
.yamllint       text diff=yaml eol=lf
*.cfg           text
*.conf          text
*.csv           text eol=lf
*.css           text diff=css
*.htm           text diff=html
*.html          text diff=html
*.java          text diff=java
*.js            text
*.json          text
*.jsp           text
*.md            text diff=markdown
*.php           text diff=php
*.properties    text
*.py            text eol=lf diff=python
*.pyi           text eol=lf diff=python
*.rs            text eol=lf diff=rust
*.sh            text eol=lf diff=bash
*.sql           text
*.tf            text
*.toml          text
*.ts            text
*.txt           text
*.xml           text
*.yaml          text
*.yml           text
CODEOWNERS      text
Dockerfile      text

*.gif  filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.jpg  filter=lfs diff=lfs merge=lfs -text
*.png  filter=lfs diff=lfs merge=lfs -text

*.mp3 filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
corpus/cases/**/*.md -text -diff

# The CLI tier for the same reason, widened from `*.md` to the whole subtree:
# its `case.txt` and `stdout.txt` are asserted byte for byte alongside the
# fixtures, and a case pinning CRLF stops pinning anything once git normalizes
# it on checkout.
corpus/cli/** -text -diff
