mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 14:56:01 +00:00
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:
11
.gitattributes
vendored
11
.gitattributes
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user