-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Should still "detect" repos directly in the workspace folder(s) even if git.autoRepositoryDetection
is false
#1909
Comments
I just looked through the change log and at some point I had set "auto repository detection" to false. This used to work OK but seems to not work anymore after 12.0.4. Is this expected? I switched it to subFolders and it seems to load now. |
I was running into this exact issue, and @mattklein123 suggestion to set |
Yes, prior to Curiously why would you all have disabled it? |
I had this turned off primarily to ignore VaryingVagrantVagrant's repo from pulling in and showing up in Source Control while working on a site within VVV. It's not a big deal, and I believe there's other ways around this (Git exclude?) |
Yes same for me. I work in large projects that pull in transitive dependencies that sometimes are git repos on disk, and I don't want them to show up in my source control view, so I disabled this feature. The thing that I don't quite understand though is that even with set to "false", the repo was still present in the "stock" source code view? Shouldn't GL also pull it up in that case? |
I'm actually not sure that subFolders will work for me, since I think it may still pull in repos via sub-folder symlinks. If set to "false" is there some way to manually load repos into the GL UI? |
OK, it looks like my "honoring" of the setting was overzealous. I'll put in a fix that will still "discover" the repository if it's directly in the workspace folder (which I assume is what VS Code is doing). I also have to check, because GitLens is supposed to get notified of the VS Code repos and add them too. I'm make sure this is in the GitLens Insiders edition tonight. Sorry for the trouble. And thank you for the additional details. |
Awesome thank you for the quick response! |
git.autoRepositoryDetection
is false
git.autoRepositoryDetection
is false
git.autoRepositoryDetection
is false
Closed by 89010fa |
Can you please verify this fix in tomorrow's GitLens insiders edition? You can install the GitLens insiders edition from here. Please be sure to disable or uninstall the stable version of GitLens first. |
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. |
After upgrading to 12.0.4, the extension no longer seems to load. None of the windows are present in the source control tab, and if I try to switch back to the GitLens view (vs. source integration), nothing shows up there either. It's like the extension fails to load. If I revert back to 12.0.3 everything works OK. Please let me know what other info I can provide to help debug.
git version 2.32.0
The text was updated successfully, but these errors were encountered: