forked from DeusData/codebase-memory-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
13 lines (11 loc) · 722 Bytes
/
Copy path.gitattributes
File metadata and controls
13 lines (11 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# Shell scripts must stay LF: with git's Windows default (core.autocrlf=true)
# they check out as CRLF and bash inside the build containers rejects them.
*.sh text eol=lf
# Vendored tree-sitter grammars — machine-generated, hide from stats and diffs
internal/cbm/vendored/grammars/**/parser.c linguist-generated=true diff=false
internal/cbm/vendored/grammars/**/scanner.c linguist-generated=true diff=false
# Shell entrypoints must check out LF everywhere: a CRLF shebang line breaks
# them under WSL/MSYS (`bash\r: no such file`). The *.sh rule covers scripts;
# the git hooks are extensionless and need explicit entries. (#1272)
scripts/git-hooks/commit-msg text eol=lf
scripts/hooks/pre-commit text eol=lf