Files
serversdownandClaude Opus 5.5 77a0296496 chore: every text file LF by default, and a test that fails on CRLF
5dff54b listed file types; a Dockerfile, .jsonl, .gitignore or any type not
yet invented had no rule.  .gitattributes now defaults every file to
`text=auto eol=lf` (Terra-View's rule), marks the binaries, and keeps
tests/fixtures/** -text.  Renormalizing under it changes no file.

tests/test_line_endings.py fails if a tracked file outside the fixtures is
stored CRLF, or if the rule stops covering new text types, fixtures or
binaries.  Its CRLF detector, pointed at the fixtures, finds all 38.
Suite: 1,711 passed, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-11-12 16:38:10 -05:00

29 lines
899 B
Plaintext

# Line endings (2026-11-12): every text file is stored and checked out with LF,
# whatever tool or OS wrote it -- file types we have not invented yet included.
# The protocol reference and seismo_lab.py were CRLF, so any rewrite outside the
# Edit tool turned them into whole-file diffs, and merges into them had to be
# resolved byte by byte. Same rule as Terra-View's. tests/test_line_endings.py
# fails if a CRLF file gets in anyway.
* text=auto eol=lf
# Binary -- never converted.
*.bin binary
*.pdf binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.h5 binary
*.pkl binary
*.db binary
*.sqlite binary
*.zip binary
*.gz binary
*.xlsx binary
*.docx binary
# Test fixtures are recorded bytes -- Blastware's own reports and exports, unit
# captures, event files -- kept byte for byte as ground truth: never converted.
tests/fixtures/** -text