Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
The extension calls git commands that can take a very long time (eg more than a day) and keep them running. This shows as a large amount of git processes running on the background each using 100% of the CPU.
Could we add timeouts to these?
What triggered this for me was checking out a huge repo with a tree filter and then blaming a file:
# Clone huge repository with a filter
git clone --filter tree:0 https://github.com/DefinitelyTyped/DefinitelyTyped
and then blame a few files with the extension to reproduce.
Description
The extension calls git commands that can take a very long time (eg more than a day) and keep them running. This shows as a large amount of
git
processes running on the background each using 100% of the CPU.Could we add timeouts to these?
What triggered this for me was checking out a huge repo with a tree filter and then blaming a file:
and then blame a few files with the extension to reproduce.
Can we add a timeout to git commands?
GitLens Version
15.0.3
VS Code Version
No response
Git Version
No response
Logs, Screenshots, Screen Captures, etc
No response