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
Unexpected repository detection on editor startup after recent updates #1372
Comments
Not sure if this is somehow linked but similar to above I have some weirdness today after a number of various updates:
Windows: 10.0.19042.789 There were recent updates to WSL2 Debian and the WSL plugin for VS Code. |
@DoctorPolski definitely not related to this issue. Please try uninstalling and reinstalling GitLens to see if that helps. If not, please open a new issue. Thanks! |
Can you please verify this fix in tomorrow's insiders edition? You can install the insiders edition from here. Be sure to disable/uninstall the stable version of GitLens first. |
@eamodio Could not reproduce the problem on Gitlens Insider v2021.3.904 anymore. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce:
I have a simple vscode .project file that looks like this:
It contains several git repositories:
And I have the setting
git.autoRepositoryDetection
set toopenEditors
, so that only the repositories I actually work on, are detected for version control in VSCode.However since a couple days (apparently both GitLens and VSCode had updates recently) all repositories are detected by GitLens on editor startup. I've tested that it happens with GitLens active only (though not if it's mayhaps a conflict with any other extension).
I can "fix" this by setting
gitlens.advanced.repositorySearchDepth
to0
(rather than the default of1
) and get back to how I'd expect it to work. But I figured I'd mention this new, unexpected behaviour anyway.Thanks for a great extension by the way.
Cheers!
The text was updated successfully, but these errors were encountered: