Coder Social home page Coder Social logo

Can't add repositories about vscode-gitlens HOT 6 CLOSED

irvnriir avatar irvnriir commented on August 17, 2024
Can't add repositories

from vscode-gitlens.

Comments (6)

irvnriir avatar irvnriir commented on August 17, 2024

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.

eamodio avatar eamodio commented on August 17, 2024

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.

irvnriir avatar irvnriir commented on August 17, 2024

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.

irvnriir avatar irvnriir commented on August 17, 2024

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.
image

from vscode-gitlens.

github-actions avatar github-actions commented on August 17, 2024

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.

github-actions avatar github-actions commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.