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

Loads of "[status] checking repository 'foo'" messages #16

Open
kpturner opened this issue Jul 22, 2020 · 7 comments
Open

Loads of "[status] checking repository 'foo'" messages #16

kpturner opened this issue Jul 22, 2020 · 7 comments

Comments

@kpturner
Copy link

The extension is continually spewing out these messages and, as they appear in the footer of VS code, it is very visually disturbing. What is happening here?

@ivanhofer
Copy link
Owner

Hi,
these status messages appear whenever the git-assistant extension detects a change in your repository. It watches for changes in your /.git path. When a change is detected, it makes some checks and tries to understand what has changed. While that happens, it will show the "check repository" message in the statusbar.

@kpturner
Copy link
Author

I’m not sure that explains it. There are uncommitted changes in the repo but it hasn’t been touched for days due to other priorities. That means that thousands of these status messages have been generated. Surely that’s not right? If the footer is going to flash these messages continually while there are uncommitted changes it’s going to be too distracting to use.

@ivanhofer
Copy link
Owner

Can you please share the log the extension generates?
Just click on the "checking repository" in the status bar and copy everything you see in it. (you can remove private information e.g. repository names or file paths in error-stacks, if you want)

@kpturner
Copy link
Author

kpturner commented Jul 26, 2020

Unfortunately the MacBook which had this problem has rebooted itself after an update and when I open the repo in VS Code the problem is no longer occurring. But there was not much to see other than what I have documented on here, i.e. endless instances of the
[status] checking repository '<repo name>'"
in the log and therefore the same message continually flashing up in the status bar.

@ivanhofer
Copy link
Owner

it could be that there are still some issues when the extension runs for a few days in row or if your macbook goes into idle state. Its a small issue, that can be solved by restarting VS Code.
Please close this issue, if this only happend once for you. If this happens again, you can reopen the issue and attach a log. Without a log, I can't really investigate this issue.
Thanks

@thirschbuechler
Copy link
Contributor

I seem to have the same issue, not on a macbook.
Maybe the internal timer gets destroyed if an exception happens? (see .txt file and screenshot)

branch-notfound.txt
image

@thirschbuechler
Copy link
Contributor

looking through my git log, packed-refs might also be an issue - might trigger a silent exception and cause the "checking repository" update loop as well

microsoft/vscode#79776

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants