getgrit / gritql

GritQL is a query language for searching, linting, and modifying code.
https://docs.grit.io/
MIT License
3.16k stars 82 forks source link

Speed up remote apply #542

Open morgante opened 1 month ago

morgante commented 1 month ago

If you apply from a large remote repo, like https://github.com/e2b-dev/e2b-cookbook/blob/main/.grit/patterns/e2b_v0_to_v1_js.md, it is pretty slow since we currently do a full clone.

We should switch to a sparse clone of just the .grit directory.

morgante commented 1 month ago

We should also display a spinner while cloning.