Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic git status in vagrant ssh is very slow #187

Open
TeemuSuoranta opened this issue Jul 27, 2021 · 2 comments
Open

Automatic git status in vagrant ssh is very slow #187

TeemuSuoranta opened this issue Jul 27, 2021 · 2 comments
Labels
bug feature-vagrant Issues related to the Vagrant development environment

Comments

@TeemuSuoranta
Copy link

In newer box versions, moving to /data/wordpress/ and further (via cd) a neat git status is triggered like so:

DEVELOPMENT [@sitename:/data/wordpress] master(+657/-422)+* ± 

In most cases this is fine and good but at least with Mac Big Sur + Vagrant this is very slow performant in some projects. Maybe it's because they have a lot more files to be crawled than regular projects.

By simply going to /data/wordpress/ might take 1-2 minutes and take CPU temperature in worst cases 95 °C. Is there any easy way to disable this for some project either via config.yml or bash settings?

Screenshot 2021-07-27 at 15 36 39

@TeemuSuoranta
Copy link
Author

This is probably linked with this issue #171

I can confirm that operating outside /data/wordpress or even referncing this in /data/wordpress while current directory is outside it is fast. I would investigate hooks for the git status thing but I cannot find reference to it in .bashrc

@ypcs
Copy link
Contributor

ypcs commented Oct 13, 2021

Hi. Thanks for the feedback.

We will look at this, at very minimum we should consider disabling the status if git execution takes too long.

@ypcs ypcs added bug feature-vagrant Issues related to the Vagrant development environment labels Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature-vagrant Issues related to the Vagrant development environment
Projects
None yet
Development

No branches or pull requests

2 participants