Merge pull request #3266 from Spinnich/fix/gitattributes-line-endings

fix(git): enforce LF line endings for shell scripts via .gitattributes
This commit is contained in:
Georges-Antoine Assi
2026-04-15 18:49:40 -04:00
committed by GitHub

11
.gitattributes vendored
View File

@@ -1 +1,12 @@
**/tests/cassettes/*.yaml linguist-generated
# Keep this file itself in LF so git can parse it reliably on all platforms.
.gitattributes text eol=lf
# Ensure shell scripts always use LF line endings in the repository,
# regardless of the developer's OS or core.autocrlf setting.
# Without this, Windows checkouts produce CRLF scripts that fail to
# execute inside Linux containers with "no such file or directory".
*.sh text eol=lf
entrypoint.sh text eol=lf
docker/init_scripts/init text eol=lf