-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
38 lines (34 loc) · 1.02 KB
/
Copy path.gitattributes
File metadata and controls
38 lines (34 loc) · 1.02 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
36
37
38
# Default: auto-detect, normalize to LF in repo.
* text=auto eol=lf
# Source code — explicit for clarity even though auto would catch them.
*.py text diff=python
*.md text
*.yml text
*.yaml text
*.toml text
*.json text
*.cff text
# The changelog merges by UNION — the net under the release-cut PR and
# header edits. Since 2026-08-30 a PR's entries go into changelog.d/<slug>.md
# (one file per PR, folded in by `tools/changelog release`), so two PRs no
# longer meet at the same line at all; union stays for the rare edit of the
# file itself. The one thing union cannot judge is a line that BOTH sides
# changed: it would appear twice — never rewrite existing lines in passing.
CHANGELOG.md merge=union
# SVG is XML text — keep diffable.
*.svg text
# Binary assets — never CRLF-normalize, never line-diff.
*.jpg binary
*.jpeg binary
*.png binary
*.gif binary
*.webp binary
*.pdf binary
*.ico binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.zip binary
*.tar binary
*.gz binary