-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
35 lines (28 loc) · 1.84 KB
/
Copy path.gitattributes
File metadata and controls
35 lines (28 loc) · 1.84 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
29
30
31
32
33
34
35
# The redirect golden fixtures are a byte-exact cross-language contract
# (consumed by both this crate's redirect_golden.rs and the depscan backend's
# golden.test.ts). EOL conversion on checkout (Windows CRLF) breaks the
# byte-for-byte comparison, so they are checked out exactly as committed.
crates/socket-patch-core/tests/fixtures/redirect/** -text
crates/socket-patch-core/tests/fixtures/pdm-native/*.lock -text
# Poetry and Pipenv locks are real `poetry lock` / `pipenv lock` output: the
# upstream restore and VEX tests round-trip them byte for byte and derive
# their CRLF variants from the LF bytes themselves.
crates/socket-patch-core/tests/fixtures/poetry/** -text
crates/socket-patch-core/tests/fixtures/pipenv/** -text
crates/socket-patch-core/tests/fixtures/pipenv-shapes/** -text
# The captured pnpm 1-12 locks are byte-real: the hosted/vendored rewriters
# refuse CRLF by design (vendor_lockfile_crlf_unsupported), and the tests
# derive their CRLF variants from the LF bytes themselves.
crates/socket-patch-core/tests/fixtures/pnpm-hosted/** -text
# Captured vlt locks are byte-real; CRLF variants are derived in the tests.
crates/socket-patch-core/tests/fixtures/vlt-locks/** -text
# The vendored vlt fixtures pin locks real vlt wrote, byte for byte.
crates/socket-patch-core/tests/fixtures/vendor/** -text
# The legacy vendor ledgers are what the base binary wrote, byte for byte:
# vendor_ledger_schema_e2e replays them through `vendor --revert` and
# compares the result byte for byte, so a CRLF checkout would change both
# the replayed wiring files and the expected revert.
crates/socket-patch-cli/tests/fixtures/legacy-ledgers/** -text
# The owned Gradle settings script is embedded with include_str! and
# written into user repos byte for byte; a CRLF checkout would change it.
crates/socket-patch-core/src/vendor/jvm/socket-patch.settings.gradle -text