-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitattributes
More file actions
28 lines (27 loc) Β· 1.08 KB
/
Copy path.gitattributes
File metadata and controls
28 lines (27 loc) Β· 1.08 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
# Force LF for source files so `sqlx::migrate!` (compile-time macro) embeds
# byte-stable migration content regardless of contributors' `core.autocrlf`
# setting. Archives produced by one machine must remain importable on any
# other build β drifting line endings would change the SHA-384 sqlx stores
# in `_sqlx_migrations.checksum` and break re-import even though the SQL is
# semantically identical.
*.sql text eol=lf
*.rs text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.json text eol=lf
*.toml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.md text eol=lf
*.html text eol=lf
*.css text eol=lf
# Shell scripts run on CI runners: a CRLF checkout makes bash fail on the
# shebang with a `\r` nobody can see in the error message.
*.sh text eol=lf
# Lockfiles change frequently and benefit from native diff/merge handling,
# but should still stay LF so CI builds on Linux runners don't see noisy
# diffs against Windows contributors.
Cargo.lock text eol=lf
bun.lockb binary