-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
78 lines (70 loc) · 2.03 KB
/
Copy path.gitattributes
File metadata and controls
78 lines (70 loc) · 2.03 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# ============================================================
# Git attributes for RNV Color Palette Manager
# ============================================================
# Controls how Git handles line endings and file types
# across Windows, macOS, and Linux contributors.
# --- Shell scripts: always LF --------------------------------
# Linux/macOS shell interpreters break on CRLF line endings.
# This guarantees .sh files keep LF endings even when edited
# on Windows.
*.sh text eol=lf
# --- Windows batch files: always CRLF ------------------------
# Windows shell (cmd.exe) is more tolerant but CRLF is the
# native convention.
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# --- Python source: auto-normalize ---------------------------
# Stored as LF in the repo, checked out with platform default.
*.py text diff=python
# --- Configuration / docs: auto-normalize --------------------
*.md text
*.toml text
*.txt text
*.yml text
*.yaml text
*.json text
*.xml text
*.svg text
*.css text
*.ini text
*.cfg text
.gitignore text
.gitattributes text
.coveragerc text
# --- Binary files: never normalize ---------------------------
# Critical: don't let Git mangle binary content.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.bmp binary
*.webp binary
*.pdf binary
*.zip binary
*.exe binary
*.dll binary
*.so binary
*.dylib binary
*.ttf binary
*.otf binary
*.woff binary
*.woff2 binary
*.pyc binary
*.pyo binary
# --- Adobe palette formats: binary ---------------------------
*.ase binary
*.aco binary
*.acb binary
*.afpalette binary
*.swatches binary
*.clr binary
# --- Default: auto-detect, normalize text --------------------
* text=auto
# === Snapshot files: ALWAYS binary, never any conversion ===
# This rule MUST be the last in the file so it overrides any specific
# extension rules (e.g. *.txt text) for files within snapshots/.
# Snapshot tests compare exact bytes; line-ending conversion would
# break byte equality across platforms.
snapshots/** binary