# Normalize line endings to LF for everything Git considers text, so a file's on-disk bytes
# never depend on the OS or editor that last touched it. This matters most for Flyway migrations
# under src/main/resources/db/migration: Flyway checksums the file content it applies, and a
# CRLF/LF flip after a migration has already run invalidates that checksum on every other clone.
* text=auto eol=lf

*.sql text eol=lf
*.java text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.properties text eol=lf
*.css text eol=lf
*.md text eol=lf
*.xml text eol=lf

*.jar binary
*.png binary
*.jpg binary
*.jpeg binary
*.ico binary
*.icns binary

# Bundled ONNX recognition models (src/main/resources/models/recognition/) — tens of MB each, stored via
# Git LFS rather than directly in history so a plain clone stays small unless LFS objects are pulled.
*.onnx filter=lfs diff=lfs merge=lfs -text
