-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.gitattributes
More file actions
25 lines (25 loc) · 1.45 KB
/
Copy path.gitattributes
File metadata and controls
25 lines (25 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Force LF line endings for test fixtures — tree-sitter grammars
# expect Unix line endings and produce wrong parse trees with CRLF.
tests/fixtures/** text eol=lf
crates/*/tests/fixtures/** text eol=lf
# Force LF for bundled plugin skill docs; the skill hygiene tests assert the
# canonical source files are LF-only, and Windows checkout otherwise rewrites
# them before the lint runs.
plugin/** text eol=lf
# Force LF for the retained agent source of truth; the bundle byte-identity
# test compares plugin agents against these files and Windows checkout
# otherwise rewrites them to CRLF.
src/agents/claude_agents/** text eol=lf
# Force LF for embedded Hermes plugin template assets — they are pulled into
# the binary via include_str! and the generated-plugin snapshot test asserts
# their exact bytes.
src/agents/hermes/templates/** text eol=lf
crates/tracedecay-agent-hosts/src/agents/hermes/templates/** text eol=lf
# Vendored, patched tree-sitter grammars: generated parser sources are
# reviewed upstream-of-generation (grammar.js + patches), not line-by-line.
# Collapse them out of PR diffs and language stats.
crates/tracedecay-code-extraction/vendor/** linguist-generated=true
# Vendored serde_json closure for source-provenance integration tests: Cargo
# verifies `.cargo-checksum.json` byte-for-byte, so Git for Windows must not
# rewrite line endings in the snapshot.
crates/tracedecay-cli/tests/fixtures/source-provenance-cargo/vendor/** -text linguist-generated=true