tree-sitter-rust
tree-sitter-rust copied to clipboard
repository size too big
We're using tree-sitter repositories as submodules in semgrep (see https://github.com/returntocorp/ocaml-tree-sitter-semgrep/blob/main/.gitmodules ) and most repositories are fine except tree-sitter-rust which takes a very long time to clone and update. I usually get connection timeout from github while doing a git submodule update just because of tree-sitter-rust.
Would it be possible to reduce its size or make the submodule update operation faster?
If you only need the contents of the repository and not the history, adding shallow = true to a module in .gitmodules can help a lot.