mirror of
https://github.com/Gathin23/cleanyourtv.git
synced 2026-10-27 19:54:45 +00:00
A Windows checkout with core.autocrlf=true (or a clone copied from Windows into WSL) turns every file into CRLF. bash then fails at "set: pipefail\r", so tools/*.sh and launcher/gradlew stop working and most of tests/ fails. .gitattributes keeps LF in the repository and in every checkout, CRLF only for .bat/.cmd, and marks images, fonts, jars and APKs binary. Renormalizing only touches launcher/gradlew.bat, which was stored with CRLF; it is now stored with LF and still checked out with CRLF. .editorconfig records the existing style: UTF-8, LF, final newline, 4-space indent, 2 for shell, JSON, YAML and Markdown. Co-Authored-By: Claude Opus 5.5 <[email protected]>
24 lines
599 B
Plaintext
24 lines
599 B
Plaintext
# LF in the repository and in every checkout, whatever core.autocrlf says. The shell scripts and
|
|
# gradlew must keep LF to run on Linux, macOS, WSL and Git Bash: with CRLF, bash stops at
|
|
# "set: pipefail\r" and gradlew at "$'\r': command not found".
|
|
* text=auto eol=lf
|
|
|
|
# cmd.exe batch files need CRLF.
|
|
*.bat text eol=crlf
|
|
*.cmd text eol=crlf
|
|
|
|
# Binary files: no line-ending conversion, no textual diff.
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.webp binary
|
|
*.ico binary
|
|
*.ttf binary
|
|
*.otf binary
|
|
*.woff binary
|
|
*.woff2 binary
|
|
*.jar binary
|
|
*.apk binary
|
|
*.zip binary
|