chore: store source and docs with LF line endings (.gitattributes)
The protocol reference, seismo_lab.py and one scratch CSV were CRLF, so a rewrite outside the Edit tool turned them into whole-file diffs, and merges into them had to be resolved byte by byte. They are converted once (line endings only: the diff ignoring CR at EOL is empty), and .gitattributes keeps every source and doc type LF from now on, whatever writes it. tests/fixtures/** is -text: Blastware's own reports and exports, captures and event files stay byte for byte (38 CRLF fixtures, unchanged). A branch that edits one of the three files merges with -X renormalize. Suite: 1,693 passed, 0 failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
1 parent
745aab40b1
commit
5dff54b292
1 file changed
+21
@@ -0,0 +1,21 @@
|
|||||||
|
# Line endings (2026-11-12): source and docs are stored and checked out with LF,
|
||||||
|
# whatever tool or OS wrote them. The protocol reference and seismo_lab.py were
|
||||||
|
# CRLF, so any rewrite outside the Edit tool turned them into whole-file diffs.
|
||||||
|
*.py text eol=lf
|
||||||
|
*.md text eol=lf
|
||||||
|
*.js text eol=lf
|
||||||
|
*.html text eol=lf
|
||||||
|
*.css text eol=lf
|
||||||
|
*.json text eol=lf
|
||||||
|
*.toml text eol=lf
|
||||||
|
*.yml text eol=lf
|
||||||
|
*.yaml text eol=lf
|
||||||
|
*.sh text eol=lf
|
||||||
|
*.txt text eol=lf
|
||||||
|
*.csv text eol=lf
|
||||||
|
*.cfg text eol=lf
|
||||||
|
*.ini text eol=lf
|
||||||
|
|
||||||
|
# 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
|
||||||
Reference in new issue
Block a user