mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-06-18 12:20:15 +00:00
ed0e67e853
Shell scripts with CRLF line endings crash inside Linux containers with 'set: illegal option -' and 'command not found' errors. - Strip CRLF -> LF in couchdb-init.sh - Add .gitattributes to enforce LF on .sh, .yml, .ini, .md etc. so this never regresses on Windows checkouts
24 lines
457 B
Plaintext
24 lines
457 B
Plaintext
# Always checkout shell scripts with LF line endings (never CRLF)
|
|
*.sh text eol=lf
|
|
|
|
# Standard text files — auto normalize on checkout
|
|
*.md text eol=lf
|
|
*.yml text eol=lf
|
|
*.yaml text eol=lf
|
|
*.ini text eol=lf
|
|
*.env text eol=lf
|
|
*.json text eol=lf
|
|
*.ts text eol=lf
|
|
*.js text eol=lf
|
|
*.mjs text eol=lf
|
|
*.css text eol=lf
|
|
|
|
# Binary files — no line ending conversion
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.woff2 binary
|
|
*.woff binary
|