-
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
Not seeing the GitLens option on the side bar, it shows for a moment and disappears after that #1832
Comments
I'm really not sure what is going on here. I would recommend uninstalling GitLens, close VS Code completely, and make sure there are no other version of GitLens in the |
This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks! |
@claudiorivera are the logs you've posted the full set from initial start? Because from those logs, there doesn't seem to be a folder open (I don't even see GitLens attempting to find any repositories). The behavior you are seeing is expected if you don't have a folder with a repository open, but certainly not if you do. Can you provide some more details as to what you are opening? Is it a local Git repo, or shared drive, remote, etc? Sorry for the trouble and thanks for any more details you can provide. |
I have the same issue as claudiorivera. For a workaround I had to downgrade to v12.0.1. |
@BarRemisz So 12.0.1 works, but 12.0.4 doesn't? No, only GitLens+ features (just Worktrees and Visual File History currently) require an account. Can you please enable debug logging by running from GitLens: Enable Debug Logging from the Command Palette (F1 or ctrl/cmd+shift+p). This will enable logging to the GitLens and GitLens (Git) channel in the Output pane. Once enabled, please reproduce the issue, and attach the log from both GitLens and GitLens (Git) channels. Thank you! |
Avoids newer git flag on older git versions Refs: #1832
@claudiorivera @BarRemisz I just published a new insiders version that might address the issues you are seeing here. Can you try to see if the issue is still reproducible in the 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. |
@claudiorivera this is very odd. In those logs I don't see GitLens even attempting to look for Git repositories. And there are only 2 cases which will stop that -- there isn't a folder open, or |
A-ha! You know, I've had that set to I can confirm that setting it back to the default of Thank you so much for troubleshooting this with me! I hope this works for the others in this thread! |
Phew, that certainly explains it 😄 -- GitLens prior to v12 wasn't honoring that setting properly. @BarRemisz does that explain what you are seeing too? |
Yes, the "git.autoRepositoryDetection" is the settings that helped. |
Duplicate of #1909 |
Avoids newer git flag on older git versions Refs: #1832
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:
The text was updated successfully, but these errors were encountered: