# Windows .bat files: cmd.exe needs CRLF for `call :label` to find labels at # end of file. autocrlf=true on Windows clones happens to do the right thing, # but a Linux clone (or any tool that bypasses autocrlf) would otherwise see # LF and silently break label resolution. Pin the working-tree EOL. *.bat text eol=crlf *.cmd text eol=crlf # PowerShell is more forgiving but the same logic applies. *.ps1 text eol=crlf # Shell scripts run inside the Linux container; they MUST stay LF even when # checked out on Windows. autocrlf=true would otherwise inject CR and break # `set -o pipefail`, shebangs, and heredocs (e.g. docker/setup-melo.sh failing # the image build with "set: pipefail: invalid option name"). *.sh text eol=lf