Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Default: let git auto-detect text vs binary
* text=auto

# Ensure shell scripts and Dockerfiles are LF on every platform.
# Without this, git on Windows checks them out with CRLF and Docker
# builds (alpine bash) fail with errors like:
# /tmp/install-zig.sh: line 2: set: pipefail: invalid option name
# because the trailing \r corrupts shell built-in option parsing.

*.sh text eol=lf
*.bash text eol=lf
Dockerfile text eol=lf
*.dockerfile text eol=lf
Loading