tree-sitter / tree-sitter-cpp

C++ grammar for tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: cloning the git repository modifies crlf.txt

Thaodan opened this issue · comments

Did you check existing issues?

  • I have read all the tree-sitter docs if it relates to using the parser
  • I have searched the existing issues of tree-sitter-cpp

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)

No response

Describe the bug

When cloning the git repository modifies crlf.txt.
The giattributes change the eol style of the file which modifies it.
Because of this issue the repository is always marked as dirty even when there are no change applied,
it makes it harder to use the repository in scripts/ci.

Steps To Reproduce/Bad Parse Tree

  1. git clone
  2. git status

Expected Behavior/Parse Tree

Clean source tree

Repro

No response