forked from itismyfield/AgentDesk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
28 lines (26 loc) · 1.62 KB
/
Copy path.gitattributes
File metadata and controls
28 lines (26 loc) · 1.62 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
26
27
28
scripts/** text eol=lf
.githooks/** text eol=lf
.github/workflows/*.yml text eol=lf
# Custom merge driver for tracked generated inventory docs (#4724 slice B).
# These two files are generated wholesale; line-count churn makes concurrent PRs
# collide on them. The
# `regen-inventory` driver takes git's clean 3-way merge when rows are
# independent, and only regenerates on a genuine same-row conflict. Requires
# local registration (a .gitattributes driver is inert without it):
# bash scripts/setup-merge-drivers.sh (run once; also via setup-hooks.sh)
# Enumerated explicitly — NOT `docs/generated/*.md` — because the other
# docs/generated/*.md files (README.md, db-file-duplication-audit.md,
# maintainability-audit.md, pg-audit-checklist.md, policy-db-inventory.md) are
# hand-authored / emitted by a different generator and must never be clobbered.
docs/generated/route-inventory.md merge=regen-inventory
docs/generated/worker-inventory.md merge=regen-inventory
# #5071 T4-B2a: the relay-obligation golden corpus is byte-exact fixture DATA,
# and one case (`malformed_and_nonobject.jsonl`) is deliberately not valid
# UTF-8 — a transcript line that cannot be decoded must classify as
# MALFORMED_JSON in both the Rust and the Python implementation, and only a
# real non-UTF-8 fixture proves they agree. Marked `-diff -text` so git never
# emits those raw bytes into a textual diff: `scripts/
# audit_state_lint_hardening.py` and its siblings read `git diff` as UTF-8 text
# and crash on them. `-text` additionally keeps EOL conversion away from files
# whose exact bytes are the assertion.
tests/fixtures/relay_obligation/*.jsonl -diff -text