# Shell scripts must keep LF line endings even when checked out on Windows.
# A CRLF in a shebang line breaks the script: 'bash\r: bad interpreter'.
*.sh text eol=lf

# Tauri regenerates src-tauri/gen/schemas/*.json on every `cargo build`,
# `cargo test` and `tauri:dev`, always with LF. With core.autocrlf=true git
# would convert them to CRLF on checkout, so the freshly generated file
# never matches what git expects and every worktree showed them
# permanently modified -- in a tree this project treats as SHARED, where a
# stray `git add -A` then sweeps them into someone else's commit. They are
# the app's ACL (acl-manifests.json decides whether the webview may invoke
# `plugin:process|exit`), so they must be tracked and a widened permission
# must show up in a diff; -text keeps them byte-for-byte as generated so
# that diff is empty until the ACL really changes (round-5 review R5-15).
src-tauri/gen/schemas/*.json -text
