-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Commit graph does not open for a sub-repo #3360
Comments
I've had the same problem and fixed it by configuring the maximum scan depth for repositories. Set |
Hi! Thank you for the proposal. VS Code is able to correctly identify all submodules, so I think the commit graph should also be able to. |
Hello @vacovnik, as mentioned It sounds like you are trying to not show submodules/directories that populate your build directory in Source Control correct? If so, have you tried using git.ignoredRepositories or adjusting the .gitignore? |
Hi! @jkelroy, I would say that
Yes. As stated above, VS Code resolves submodules and shows them. When I try to open the graph for e.g.
The way the Source Control in the VS Code works is in my opinion correct.
With
In case I would increase the So my conclusion would be that the GitLens extension is not resolving submodules recursively as the VS Code does. |
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! |
Hi! I think I added quite some info. Is it not sufficient? If it is not clear, please ask what is not described in detail enough and I will try to explain it better. |
Description
I have a repository hierarchy that looks somewhat like this:
It happens that right after the fresh start of the development (VS Code freshly opened), I am not able to open a graph of a sub-repository.
Instead a graph of it parent's repo is opened.
A soon as I open a file from that repo in a VS Code editor, commit graph opens correctly.
The same goes if I want to switch to a different sub-repo from within a commit graph.
The list of available sub-repos contains only the ones for which at least one file was opened in VS Code editor.
GitLens Version
15.1.0
VS Code Version
Version: 1.90.1 (user setup)
Commit: 611f9bfce64f25108829dd295f54a6894e87339d
Date: 2024-06-11T21:01:24.262Z
Electron: 29.4.0
ElectronBuildId: 9593362
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045
Git Version
git version 2.36.1.windows.1
Logs, Screenshots, Screen Captures, etc
No response
The text was updated successfully, but these errors were encountered: