Files
oh-my-pi/.gitattributes
T
Sense_wang c5c7f21683 chore: add lock files as binary in .gitattributes (#249)
Lock files (Cargo.lock, bun.lock, etc.) are machine-generated and
should not be manually edited or line-ending normalized. Mark them
as binary to prevent unnecessary diff conflicts.

Added:
- *.lock -text
- Cargo.lock -text
- package-lock.json -text
- bun.lock -text
- bun.lockb -text
- yarn.lock -text
- pnpm-lock.yaml -text
- poetry.lock -text
2026-03-02 13:25:19 +01:00

55 lines
928 B
Plaintext

*.wasm filter=lfs diff=lfs merge=lfs -text linguist-vendored
# Default: normalize text files, but do not force binary files as text.
* text=auto eol=lf
# Common binary assets and archives must never be line-ending normalized.
*.png -text
*.jpg -text
*.jpeg -text
*.gif -text
*.webp -text
*.ico -text
*.pdf -text
*.zip -text
*.gz -text
*.tar -text
*.tgz -text
*.7z -text
*.ttf -text
*.otf -text
*.woff -text
*.woff2 -text
*.mp3 -text
*.mp4 -text
*.mov -text
*.avi -text
*.db -text
*.sqlite -text
*.exe -text
*.dll -text
*.so -text
*.dylib -text
*.class -text
*.jar -text
# Lock files are binary (machine-generated, should not be manually edited)
*.lock -text
Cargo.lock -text
package-lock.json -text
bun.lock -text
bun.lockb -text
yarn.lock -text
pnpm-lock.yaml -text
poetry.lock -text
# Executed by Linux
*.sh text eol=lf
*.py text eol=lf
# Windows-native scripts
*.ps1 text eol=lf
*.cmd text eol=crlf
*.bat text eol=crlf