# Line endings, pinned so they do not depend on each developer's Git config. # # Git for Windows ships core.autocrlf=true in its system gitconfig, which # stores LF but checks out CRLF - the source of the "LF will be replaced by # CRLF" warnings on `git add`. Declaring the policy here overrides that for # everyone, so Windows, Linux and the Docker build all agree. # # The repository is already entirely LF (`git ls-files --eol` shows i/lf # across the board), so eol=lf pins the working tree to what the index # already holds and rewrites no committed content. * text=auto eol=lf # Binaries must never be EOL-converted - a substituted byte corrupts them. # Git already auto-detects these; saying so explicitly means a future edit # to the wildcard above cannot silently start mangling them. *.joblib binary *.db binary *.tflite binary # Windows-only scripts genuinely need CRLF. None are tracked in this repo # today (start_app.bat lives above it), but the rule belongs with the policy. *.bat text eol=crlf *.ps1 text eol=crlf