Comments (6)
I also get No repository is selected
when clicking Show Commit Graph in the VSC's Source Control in sidebar. The issue would be solved for me if that action would be adding the repo to GitLens and opening the graph for corresponding repo.
from vscode-gitlens.
Can you please enable debug logging by running the GitLens: Enable Debug Logging command from the Command Palette (F1 or ctrl/cmd+shift+p). This will enable logging to the GitLens & GitLens (Git) channels in the Output pane.
Once enabled, please reproduce the issue, and attach the logs from the GitLens and GitLens (Git) channels.
Thank you!
from vscode-gitlens.
GitLens
[2024-06-10 08:30:52.253] [ b2] GitProviderService.onWindowStateChanged(e=focused=true) completed [0ms]
[2024-06-10 08:30:52.407] GitProvider(git).onDidOpenRepository(e=file:///d%3A/temporal/2)
[2024-06-10 08:30:52.407] [ b3] GitProviderService.getOrOpenRepository(e=Uri(file:///d:/temporal/2))
[2024-06-10 08:30:52.407] [ b4] GitProviderService.getRepository(e=Uri(file:///d:/temporal/2))
[2024-06-10 08:30:52.407] [ b4] GitProviderService.getRepository(e=Uri(file:///d:/temporal/2)) returned undefined [0ms]
[2024-06-10 08:30:52.408] [ b5] LocalGitProvider.findRepositoryUri(e=Uri(file:///d:/temporal/2), t=undefined)[2024-06-10 08:30:52.525] [GIT ] [d:\temporal\2] git rev-parse --show-toplevel [54ms]
[2024-06-10 08:30:52.562] [ b5] LocalGitProvider.findRepositoryUri No symlink detected; repoPath=d:/temporal/2
[2024-06-10 08:30:52.562] [ b5] LocalGitProvider.findRepositoryUri(e=Uri(file:///d:/temporal/2), t=undefined) returned Uri(file:///d:/temporal/2) [154ms]
[2024-06-10 08:30:52.563] [ b3] GitProviderService.getOrOpenRepository Repository found in 'file:///d:/temporal/2'
[2024-06-10 08:30:52.563] [ b6] LocalGitProvider.openRepository(e=undefined, t=Uri(file:///d:/temporal/2), i=false, r=undefined, s=true)
[2024-06-10 08:30:52.564] [ b7] GitProviderService.getGitDir(e=Uri(file:///d:/temporal/2))
[2024-06-10 08:30:52.564] [ b8] LocalGitProvider.getGitDir(e=d:/temporal/2)
[2024-06-10 08:30:52.565] [ b6] LocalGitProvider.openRepository(e=undefined, t=Uri(file:///d:/temporal/2), i=false, r=undefined, s=true) returned [x(d:/temporal/2)] [1ms]
[2024-06-10 08:30:52.565] [ ba] GitProviderService.setEnabledContext(e=true)
[2024-06-10 08:30:52.565] [ bb] GitProviderService.getRemotes(e=Uri(file:///d:/<<..>>), t=undefined)
[2024-06-10 08:30:52.565] [ bc] LocalGitProvider.getRemotes(e=d:/<<..>>)
[2024-06-10 08:30:52.565] [ ba] GitProviderService.setEnabledContext(e=true) completed [0ms]
[2024-06-10 08:30:52.569] [ bc] LocalGitProvider.getRemotes(e=d:/<<..>>) completed [3ms]
[2024-06-10 08:30:52.569] [ b3] GitProviderService.getOrOpenRepository(e=Uri(file:///d:/temporal/2)) returned x(d:/temporal/2) [161ms]
[2024-06-10 08:30:52.569] [ bb] GitProviderService.getRemotes(e=Uri(file:///d:/<<..>>), t=undefined) completed [3ms]
[2024-06-10 08:30:52.569] [ bd] GitProviderService.getRemotes(e=Uri(file:///d:/<<..>>), t=undefined)
[2024-06-10 08:30:52.569] [ be] LocalGitProvider.getRemotes(e=d:/<<..>>)
[2024-06-10 08:30:52.569] [ be] LocalGitProvider.getRemotes(e=d:/<<..>>) completed [0ms]
[2024-06-10 08:30:52.569] [ bd] GitProviderService.getRemotes(e=Uri(file:///d:/<<..>>), t=undefined) completed [0ms]
[2024-06-10 08:30:52.569] [ bf] GitProviderService.getRemotes(e=Uri(file:///d:/temporal/2), t=undefined)
[2024-06-10 08:30:52.570] [ c0] LocalGitProvider.getRemotes(e=d:/temporal/2)
[2024-06-10 08:30:52.570] [ c1] GitProviderService.getRepository(e=d:/temporal/2)
[2024-06-10 08:30:52.570] [ c1] GitProviderService.getRepository(e=d:/temporal/2) returned x(d:/temporal/2) [0ms]
[2024-06-10 08:30:52.637] [GIT ] [d:/temporal/2] git rev-parse --git-dir --git-common-dir [73ms]
[2024-06-10 08:30:52.637] [ b8] LocalGitProvider.getGitDir(e=d:/temporal/2) returned file:///d:/temporal/2/.git, commonUri=undefined [73ms]
[2024-06-10 08:30:52.637] [ b7] GitProviderService.getGitDir(e=Uri(file:///d:/temporal/2)) completed [73ms]
[2024-06-10 08:30:52.637] [ b9] x(d:/temporal/2).setupRepoWatchersCore watching 'file:///d:/temporal/2/.git' for repository changes
[2024-06-10 08:30:52.637] [ b9] x(d:/temporal/2).setupRepoWatchersCore completed [72ms]
[2024-06-10 08:30:52.648] [GIT ] [d:/temporal/2] git remote -v [76ms]
[2024-06-10 08:30:52.648] [ 194] Git.parseRemotes(d:/temporal/2) [0ms]
[2024-06-10 08:30:52.648] [ c0] LocalGitProvider.getRemotes(e=d:/temporal/2) completed [78ms]
[2024-06-10 08:30:52.648] [ bf] GitProviderService.getRemotes(e=Uri(file:///d:/temporal/2), t=undefined) completed [78ms]
[2024-06-10 08:30:52.648] [ c3] GitProviderService.getRemotes(e=Uri(file:///e:/<<..>>), t=undefined)
[2024-06-10 08:30:52.648] [ c4] LocalGitProvider.getRemotes(e=e:/<<..>>)
[2024-06-10 08:30:52.648] [ c4] LocalGitProvider.getRemotes(e=e:/<<..>>) completed [0ms]
[2024-06-10 08:30:52.648] [ c3] GitProviderService.getRemotes(e=Uri(file:///e:/<<..>>), t=undefined) completed [0ms]
[2024-06-10 08:30:52.648] [ c5] GitProviderService.getRemotes(e=Uri(file:///e:/<<..>>), t=undefined)
[2024-06-10 08:30:52.648] [ c6] LocalGitProvider.getRemotes(e=e:/<<..>>)
[2024-06-10 08:30:52.648] [ c6] LocalGitProvider.getRemotes(e=e:/<<..>>) completed [0ms]
[2024-06-10 08:30:52.648] [ c5] GitProviderService.getRemotes(e=Uri(file:///e:/<<..>>), t=undefined) completed [0ms]
GitLens (Git)
[2024-06-10 08:30:52.525] [ 54ms] [d:\temporal\2] git rev-parse --show-toplevel
[2024-06-10 08:30:52.637] [ 73ms] [d:/temporal/2] git rev-parse --git-dir --git-common-dir
[2024-06-10 08:30:52.648] [ 76ms] [d:/temporal/2] git remote -v
[2024-06-10 08:31:32.818] [ 109ms] [d:/<<..>>] git status --porcelain=v2 --branch -u --find-renames --
[2024-06-10 08:31:32.840] [ 131ms] [d:/<<..>>] git status --porcelain=v2 --branch -u --find-renames --
[2024-06-10 08:31:32.877] [ 168ms] [e:/<<..>>] git status --porcelain=v2 --branch -u --find-renames --
[2024-06-10 08:31:33.038] [ 150ms] [d:/<<..>>] git rev-parse --verify --end-of-options MERGE_HEAD^{commit}
[2024-06-10 08:31:33.062] [ 165ms] [d:/<<..>>] git rev-parse --verify --end-of-options MERGE_HEAD^{commit}
[2024-06-10 08:31:33.066] [ 163ms] [e:/<<..>>] git rev-parse --verify --end-of-options MERGE_HEAD^{commit}
from vscode-gitlens.
The Show Commit Graph button in Source Control also sometimes doesn't work even if the repo is detected. Repositories\<<repo>>\Commits\RMB\Open in Commit Graph
and Commit Details\Open in Commit
do work.
from vscode-gitlens.
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!
from vscode-gitlens.
Closing this issue because it needs more information and has not had recent activity. Please re-open this issue if more details can be provided. Thanks!
from vscode-gitlens.
Related Issues (20)
- Gitlens doesn't recognize the repository HOT 2
- Integrate with Incoming/Outgoing Changes
- We're excited to introduce "Launchpad," accessible now in GitLens via "Open Launchpad" command. HOT 1
- Cannot read properties of undefined (reading 'start')
- Deleting a worktree (without force) with working changes causes double prompts
- Post-merge review of #3356 HOT 4
- Unstage a hunk in multifile diff
- Drag and drop in interactive rebase no longer working macos HOT 2
- Creating a cloud patch from a stash provides incorrect title HOT 2
- Clicking anywhere on "Get started" should expand the section
- Notification of breaking api change with v1.92 release of VS Code
- Unable to pull branch 'xxx' from origin HOT 9
- Github credentials Erro HOT 3
- Rebase editor can be delayed on slow networks
- Pull request markers, when set in commit graph minimap or scroll, show as unsupported in settings JSON HOT 1
- Account login flow can get stuck when cancelling
- line blame and file blame stop showing right after upgrading to pro HOT 2
- 'Open worktree in window' option from Launchpad sometimes creates a worktree in the wrong folder HOT 3
- HSL color can not be parsed if it includes 'deg' substring HOT 1
- Worktrees typo in package.json
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-gitlens.