mirror of
https://github.com/anomalyco/opentui.git
synced 2026-09-19 01:26:03 +08:00
35896f187a
Mark images, fonts, wasm, and native binaries as binary so git and editor tooling cannot re-encode them as text.
42 lines
718 B
Plaintext
42 lines
718 B
Plaintext
# Treat binary assets as binary so git, editors, and merge/filter
|
|
# tools never re-encode them as text. Prevents UTF-8 mojibake of
|
|
# bytes >= 0x80 (which is what corrupted the example image assets
|
|
# in c1f46659).
|
|
|
|
# Source files: enforce LF line endings regardless of platform
|
|
* text=auto eol=lf
|
|
|
|
# Images
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.webp binary
|
|
*.ico binary
|
|
|
|
# Fonts
|
|
*.ttf binary
|
|
*.otf binary
|
|
*.woff binary
|
|
*.woff2 binary
|
|
|
|
# Compiled / bundled native code
|
|
*.wasm binary
|
|
*.so binary
|
|
*.dylib binary
|
|
*.dll binary
|
|
*.exe binary
|
|
*.a binary
|
|
*.o binary
|
|
|
|
# Archives
|
|
*.zip binary
|
|
*.gz binary
|
|
*.tar binary
|
|
|
|
# Audio / video
|
|
*.mp3 binary
|
|
*.mp4 binary
|
|
*.wav binary
|
|
*.ogg binary
|