Skip to content

Commit 4d7d9f1

Browse files
authored
Merge pull request #1314 from mlandolfi90/fix/gitattributes-shell-eol
fix(build): force LF line endings for shell scripts
2 parents 9a547b3 + d6b870a commit 4d7d9f1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.gitattributes‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Shell scripts must stay LF: with git's Windows default (core.autocrlf=true)
2+
# they check out as CRLF and bash inside the build containers rejects them.
3+
*.sh text eol=lf
4+
15
# Vendored tree-sitter grammars — machine-generated, hide from stats and diffs
26
internal/cbm/vendored/grammars/**/parser.c linguist-generated=true diff=false
37
internal/cbm/vendored/grammars/**/scanner.c linguist-generated=true diff=false

0 commit comments

Comments
 (0)