-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.gitattributes
More file actions
32 lines (29 loc) · 1.09 KB
/
Copy path.gitattributes
File metadata and controls
32 lines (29 loc) · 1.09 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
# Normalise everything to LF in the repository and in the working tree.
#
# This project is authored on Windows and deployed to Linux + systemd, and the job
# image does `COPY entrypoint.sh /entrypoint.sh` — Docker copies from the working
# tree, not from git. A CRLF `#!/bin/sh` becomes `bad interpreter` inside the
# container: a confusing error with a boring cause. `eol=lf` (not just `text=auto`)
# keeps the working copy LF too, which is what Docker actually reads.
* text=auto eol=lf
# Files where LF is not cosmetic — these break at runtime with CRLF.
*.sh text eol=lf
*.bash text eol=lf
Dockerfile text eol=lf
*.dockerfile text eol=lf
entrypoint text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
# Binary: never touch these.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.woff binary
*.woff2 binary
# Screenshots produced by the frontend verification loop (REQ-FRONTEND-VISUAL-VERIFY)
# are attached to pull requests, not committed — but mark them anyway so a stray
# one is never line-ending-mangled into corruption.
*.webp binary