-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
137 lines (137 loc) · 3.52 KB
/
.gitattributes
File metadata and controls
137 lines (137 loc) · 3.52 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# ============================================
# rtype - Git Attributes Configuration
# ============================================
# Enforces consistent line endings and file types
# across all team members and platforms
# ============================================
# AUTO-DETECT (default for unlisted files)
# ============================================
* text=auto
# ============================================
# TEXT FILES - Enforce LF line endings
# ============================================
# C++ source files
*.cpp text eol=lf
*.hpp text eol=lf
*.h text eol=lf
*.c text eol=lf
*.cc text eol=lf
*.cxx text eol=lf
*.hxx text eol=lf
*.ipp text eol=lf
# CMake files
CMakeLists.txt text eol=lf
*.cmake text eol=lf
# Documentation
*.md text eol=lf
*.txt text eol=lf
*.rst text eol=lf
# Configuration files
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.xml text eol=lf
*.toml text eol=lf
*.ini text eol=lf
*.conf text eol=lf
# Scripts
*.sh text eol=lf
*.bash text eol=lf
*.py text eol=lf
*.pl text eol=lf
# Web files (for documentation generation)
*.html text eol=lf
*.css text eol=lf
*.js text eol=lf
# Git configuration
.gitignore text eol=lf
.gitattributes text eol=lf
.gitmodules text eol=lf
# CI/CD
.github/** text eol=lf
# ============================================
# BINARY FILES - No line ending conversion
# ============================================
# Images
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.bmp binary
*.ico binary
*.svg binary
*.tga binary
*.dds binary
# Audio
*.wav binary
*.ogg binary
*.mp3 binary
*.flac binary
# Fonts
*.ttf binary
*.otf binary
*.woff binary
*.woff2 binary
*.eot binary
# Compiled binaries
*.exe binary
*.dll binary
*.so binary
*.dylib binary
*.a binary
*.lib binary
*.o binary
*.obj binary
# Archives
*.zip binary
*.tar binary
*.gz binary
*.bz2 binary
*.7z binary
*.rar binary
# Compiled shaders (if used)
*.spv binary
*.spirv binary
# ============================================
# DIFF HANDLING
# ============================================
# Treat generated files as binary (don't show diffs)
*.min.js binary
*.min.css binary
# Show diffs for these even though they're binary
# (none currently - can add if needed)
# ============================================
# MERGE STRATEGIES
# ============================================
# Never merge these files (always take ours or theirs)
# docs/sprint-artifacts/sprint-status.yaml merge=union
# ============================================
# EXPORT-IGNORE (for git archive)
# ============================================
# Don't include these files in release archives
.gitignore export-ignore
.gitattributes export-ignore
.github export-ignore
.vscode export-ignore
.idea export-ignore
tests export-ignore
docs/sprint-artifacts export-ignore
.bmad export-ignore
# ============================================
# LANGUAGE DETECTION (for GitHub)
# ============================================
# Mark vendored code (not counted in language stats)
build/_deps/* linguist-vendored
cmake/CPM.cmake linguist-vendored
# Mark generated code
# (none currently)
# ============================================
# NOTES
# ============================================
# - LF (Line Feed, \n) is enforced for all text files
# - This ensures consistency across Linux, macOS, and Windows
# - Binary files are not touched by Git line ending conversion
# - CMake, C++, and documentation files all use LF
# - Run `git add --renormalize .` after adding this file
# to normalize existing files in the repository
tests/test_assets/models/piemel_printable_fixed.obj filter=lfs diff=lfs merge=lfs -text