gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
9.02k stars 1.35k forks source link

Fetch does not work + Fetching notification does not finish #1497

Open Mushe-Soft opened 3 years ago

Mushe-Soft commented 3 years ago

Steps to Reproduce:

  1. click fetch button on any branch
  2. "Fetching ..." notification is shown forever, never disappears (you need to close vscode)

Moreover : the fetching is not done, since when I do a "git fetch --all" in the terminal, it reveals the latest commits that where not yet fetched.

log git :

Looking for git in: git Using git 2.17.1 from git

git rev-parse --git-dir Open repository: /mnt/data/Klanten/Ikaros/Git/Ikaros-dev git status -z -u git symbolic-ref --short HEAD git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track) refs/heads/master refs/remotes/master git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(objectname) git remote --verbose git config --get commit.template git check-ignore -v -z --stdin git config --local branch.master.github-pr-owner-number git status -z -u git symbolic-ref --short HEAD git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track) refs/heads/master refs/remotes/master git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(objectname) git remote --verbose git config --get commit.template

log gitlens

[2021-05-07 13:40:12:297] GitLens (v11.4.1): syncedVersion=11.4.1, localVersion=11.4.1, previousVersion=11.4.1, gitlens:views:welcome:visible=false, gitlens:views:updates:visible=false [2021-05-07 13:40:12:297] [1] GitService.initialize [2021-05-07 13:40:12:298] [2] GitService.getBuiltInGitApi [2021-05-07 13:40:12:300] [2] GitService.getBuiltInGitApi completed • 2 ms [2021-05-07 13:40:12:320] Git found: 2.17.1 @ /usr/bin/git • 20 ms [2021-05-07 13:40:12:320] [1] GitService.initialize completed • 22 ms [2021-05-07 13:40:12:321] Starting repository search in 1 folders [2021-05-07 13:40:12:322] [3] GitService.repositorySearch(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev) searching (depth=1)... [2021-05-07 13:40:12:322] [4] GitService.getRepoPathCore — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev, T=true [2021-05-07 13:40:12:330] [5] LineAnnotationController.resume [2021-05-07 13:40:12:330] [6] GitLineTracker.start [2021-05-07 13:40:12:330] [6] GitLineTracker.start completed • 0 ms [2021-05-07 13:40:12:330] [5] LineAnnotationController.resume completed • 0 ms [2021-05-07 13:40:12:330] [7] LineAnnotationController.refresh [2021-05-07 13:40:12:330] [8] GitLineTracker.start [2021-05-07 13:40:12:330] [8] GitLineTracker.start completed • 0 ms [2021-05-07 13:40:12:330] [9] GitLineTracker.start [2021-05-07 13:40:12:331] [9] GitLineTracker.start completed • 0 ms [2021-05-07 13:40:12:348] GitLens (v11.4.1) activated • 52 ms [2021-05-07 13:40:12:348] [7] LineAnnotationController.refresh completed • 18 ms [2021-05-07 13:40:12:355] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git rev-parse --show-toplevel • 32 ms [2021-05-07 13:40:12:405] [4] GitService.getRepoPathCore No symlink detected; repoPath=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:12:405] [4] GitService.getRepoPathCore completed • 82 ms [2021-05-07 13:40:12:405] [3] GitService.repositorySearch(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev) found root repository in '/mnt/data/Klanten/Ikaros/Git/Ikaros-dev' [2021-05-07 13:40:12:407] [a] GitService.repositorySearchCore — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev, T=1 [2021-05-07 13:40:12:412] [b] GitService.repositorySearchCore — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev/.vscode, T=0 [2021-05-07 13:40:12:412] [b] GitService.repositorySearchCore completed • 0 ms [2021-05-07 13:40:12:412] [c] GitService.repositorySearchCore — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev/src, T=0 [2021-05-07 13:40:12:412] [c] GitService.repositorySearchCore completed • 0 ms [2021-05-07 13:40:12:412] [a] GitService.repositorySearchCore completed • 4 ms [2021-05-07 13:40:12:412] [3] GitService.repositorySearch(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev) returned 1 repositories (/mnt/data/Klanten/Ikaros/Git/Ikaros-dev) • 90 ms [2021-05-07 13:40:12:413] [d] GitService.openBuiltInGitRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:12:413] [e] GitService.getBuiltInGitApi [2021-05-07 13:40:12:413] [e] GitService.getBuiltInGitApi completed • 0 ms [2021-05-07 13:40:12:413] [d] GitService.openBuiltInGitRepository completed • 0 ms [2021-05-07 13:40:12:501] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git remote -v • 9 ms [2021-05-07 13:40:12:502] [f] GitRemoteParser.parse completed • 0 ms [2021-05-07 13:40:12:503] [10] GitService.getRichRemoteProvider — {"includeDisconnected":false} [2021-05-07 13:40:12:503] [11] GitHubRemote.isConnected [2021-05-07 13:40:12:550] [12] Repository(/mnt/data/klanten/ikaros/git/ikaros-dev/).fireChange — remotes [2021-05-07 13:40:12:550] [12] Repository(/mnt/data/klanten/ikaros/git/ikaros-dev/).fireChange completed • 0 ms [2021-05-07 13:40:12:551] [13] LineAnnotationController.refresh [2021-05-07 13:40:12:551] [13] LineAnnotationController.refresh completed • 0 ms [2021-05-07 13:40:12:551] [11] GitHubRemote.isConnected returned true • 47 ms [2021-05-07 13:40:12:551] [10] GitService.getRichRemoteProvider completed • 47 ms [2021-05-07 13:40:12:551] [14] GitService.getRichRemoteProvider — {"includeDisconnected":false} [2021-05-07 13:40:12:552] [14] GitService.getRichRemoteProvider completed • 0 ms [2021-05-07 13:40:12:802] Repository(/mnt/data/klanten/ikaros/git/ikaros-dev/) firing changes=remotes [2021-05-07 13:40:18:176] [15] GitService.getOrderedRepositories [2021-05-07 13:40:18:176] [16] GitService.getRepositories [2021-05-07 13:40:18:176] [17] GitService.getOrderedRepositories [2021-05-07 13:40:18:176] [18] GitService.getRepositories [2021-05-07 13:40:18:177] [19] GitService.getOrderedRepositories [2021-05-07 13:40:18:177] [1a] GitService.getRepositories [2021-05-07 13:40:18:177] [16] GitService.getRepositories completed • 0 ms [2021-05-07 13:40:18:177] [18] GitService.getRepositories completed • 0 ms [2021-05-07 13:40:18:177] [1a] GitService.getRepositories completed • 0 ms [2021-05-07 13:40:18:177] [15] GitService.getOrderedRepositories completed • 1 ms [2021-05-07 13:40:18:178] [1b] GitService.getBranch — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:178] [1c] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:184] [17] GitService.getOrderedRepositories completed • 7 ms [2021-05-07 13:40:18:184] [1d] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:185] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • waiting... [2021-05-07 13:40:18:185] [19] GitService.getOrderedRepositories completed • 8 ms [2021-05-07 13:40:18:186] [1e] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:18:186] [1f] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe [2021-05-07 13:40:18:186] [1f] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe completed • 0 ms [2021-05-07 13:40:18:186] [1e] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 0 ms [2021-05-07 13:40:18:188] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • 10 ms [2021-05-07 13:40:18:188] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • 3 ms (waited) [2021-05-07 13:40:18:189] [20] GitBranchParser.parse completed • 0 ms [2021-05-07 13:40:18:189] [21] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:189] [22] GitBranchParser.parse completed • 0 ms [2021-05-07 13:40:18:189] [23] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:189] [21] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:40:18:189] [23] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:40:18:189] [1c] GitService.getBranches completed • 11 ms [2021-05-07 13:40:18:189] [1d] GitService.getBranches completed • 5 ms [2021-05-07 13:40:18:189] [24] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:18:189] [25] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe [2021-05-07 13:40:18:190] [25] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe completed • 0 ms [2021-05-07 13:40:18:190] [26] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:190] [1b] GitService.getBranch completed • 12 ms [2021-05-07 13:40:18:190] [26] GitService.getBranches completed • 0 ms [2021-05-07 13:40:18:192] [24] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 2 ms [2021-05-07 13:40:18:192] [27] GitService.getRemotes — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:192] [28] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:192] [29] GitService.getRemotes — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:192] [2a] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:192] [28] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:40:18:192] [2a] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:40:18:193] [27] GitService.getRemotes completed • 0 ms [2021-05-07 13:40:18:193] [29] GitService.getRemotes completed • 0 ms [2021-05-07 13:40:18:238] [2b] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:18:238] [2c] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe [2021-05-07 13:40:18:239] [2d] GitService.getBranchAheadRange — w=master [2021-05-07 13:40:18:239] [2d] GitService.getBranchAheadRange completed • 0 ms [2021-05-07 13:40:18:239] [2e] GitService.getLog — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev, {"limit":40,"ref":"master"} [2021-05-07 13:40:18:246] [2f] GitService.getBranchesAndTagsTipsFn — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev, T=master [2021-05-07 13:40:18:247] [30] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:247] [31] GitService.getTags — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:255] [32] GitService.getStatusForRepo — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:260] [33] GitService.getMergeStatus — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:266] [34] GitService.getRebaseStatus — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:271] [35] GitBranch.getAssociatedPullRequest — W={"include":["Open","Merged"]} [2021-05-07 13:40:18:272] [36] GitService.getRemotes — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:272] [37] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:272] [30] GitService.getBranches completed • 25 ms [2021-05-07 13:40:18:272] [37] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:40:18:272] [36] GitService.getRemotes completed • 0 ms [2021-05-07 13:40:18:272] [38] GitService.getPullRequestForBranch — w=master, T=origin, {"include":["Open","Merged"]} [2021-05-07 13:40:18:272] [39] GitHubRemote.getPullRequestForBranch — A=master, _={"include":["Open","Merged"]} [2021-05-07 13:40:18:272] [3a] GitHubApi.getPullRequestForBranch — ee=GitHub, ae=, ve=Mushe-Soft, me=Ikaros-ARPROD, Ve=master, ze={"include":["OPEN","MERGED"],"baseUrl":"https://api.github.com"} [2021-05-07 13:40:18:290] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git rev-parse --verify REBASE_HEAD^{commit} • 23 ms [2021-05-07 13:40:18:290] [3b] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:290] [3b] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:40:18:290] [34] GitService.getRebaseStatus completed • 23 ms [2021-05-07 13:40:18:290] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git rev-parse --verify MERGE_HEAD^{commit} • 29 ms [2021-05-07 13:40:18:290] [3c] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:290] [3c] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:40:18:290] [33] GitService.getMergeStatus completed • 29 ms [2021-05-07 13:40:18:290] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git status --porcelain=v2 --branch -u -- • 34 ms [2021-05-07 13:40:18:291] [3e] GitStatusParser.parseV2 completed • 0 ms [2021-05-07 13:40:18:291] [3d] GitStatusParser.parse completed • 0 ms [2021-05-07 13:40:18:291] [32] GitService.getStatusForRepo completed • 35 ms [2021-05-07 13:40:18:291] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git tag -l --format=%3cn%3e%(refname)%3cr%3e%(objectname)%3cr%3e%(objectname)%3cd%3e%(creatordate:iso8601)%3cad%3e%(authordate:iso8601)%3cs%3e%(subject) • 43 ms [2021-05-07 13:40:18:291] [3f] GitTagParser.parse completed • 0 ms [2021-05-07 13:40:18:291] [40] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:291] [40] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:40:18:291] [31] GitService.getTags completed • 44 ms [2021-05-07 13:40:18:291] [2f] GitService.getBranchesAndTagsTipsFn completed • 44 ms [2021-05-07 13:40:18:291] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git log --format=%x3c%x2ff%x3e%n%x3cr%x3e%x20%H%n%x3ca%x3e%x20%aN%n%x3ce%x3e%x20%aE%n%x3cd%x3e%x20%at%n%x3cc%x3e%x20%ct%n%x3cp%x3e%x20%P%n%x3cs%x3e%n%B%n%x3c%x2fs%x3e%n%x3cf%x3e --full-history -M -m --name-status -n41 master -- • 51 ms [2021-05-07 13:40:18:291] [41] GitService.getCurrentUser — /mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:299] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git config --get-regex ^user. • 7 ms [2021-05-07 13:40:18:305] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git check-mailmap Marc Umans marc@mushe.be • 6 ms [2021-05-07 13:40:18:305] [41] GitService.getCurrentUser completed • 14 ms [2021-05-07 13:40:18:306] [42] GitLogParser.parse [2021-05-07 13:40:18:308] [42] GitLogParser.parse completed • 2 ms [2021-05-07 13:40:18:308] [2e] GitService.getLog completed • 68 ms [2021-05-07 13:40:18:309] [43] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe [2021-05-07 13:40:18:309] [43] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe completed • 0 ms [2021-05-07 13:40:18:309] [2c] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe completed • 71 ms [2021-05-07 13:40:18:309] [2b] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 71 ms [2021-05-07 13:40:18:426] [44] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged — se={"visible":true} [2021-05-07 13:40:18:426] [45] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:18:427] [46] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange — false [2021-05-07 13:40:18:427] [47] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange — false, false [2021-05-07 13:40:18:427] [48] CommitsViewNode.triggerChange — false, false [2021-05-07 13:40:18:428] [49] CommitsView.refreshNode — E=CommitsViewNode, M=false, u=false [2021-05-07 13:40:18:428] [4a] CommitsViewNode.refresh — false [2021-05-07 13:40:18:428] [4a] CommitsViewNode.refresh completed • 0 ms [2021-05-07 13:40:18:428] [44] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged completed • 1 ms [2021-05-07 13:40:18:428] [45] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 1 ms [2021-05-07 13:40:18:428] [4b] CommitsView.triggerNodeChange — E=CommitsViewNode [2021-05-07 13:40:18:429] [4b] CommitsView.triggerNodeChange completed • 0 ms [2021-05-07 13:40:18:429] [49] CommitsView.refreshNode completed • 1 ms [2021-05-07 13:40:18:429] [48] CommitsViewNode.triggerChange completed • 1 ms [2021-05-07 13:40:18:429] [47] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange completed • 1 ms [2021-05-07 13:40:18:429] [46] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange completed • 2 ms [2021-05-07 13:40:18:429] [4c] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged — se={"visible":true} [2021-05-07 13:40:18:429] [4d] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:18:429] [4e] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange — false [2021-05-07 13:40:18:429] [4f] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange — false, false [2021-05-07 13:40:18:429] [50] BranchesViewNode.triggerChange — false, false [2021-05-07 13:40:18:429] [51] BranchesView.refreshNode — E=BranchesViewNode, M=false, u=false [2021-05-07 13:40:18:429] [52] BranchesViewNode.refresh — false [2021-05-07 13:40:18:430] [52] BranchesViewNode.refresh completed • 0 ms [2021-05-07 13:40:18:430] [4c] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged completed • 0 ms [2021-05-07 13:40:18:430] [4d] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 0 ms [2021-05-07 13:40:18:430] [53] BranchesView.triggerNodeChange — E=BranchesViewNode [2021-05-07 13:40:18:430] [53] BranchesView.triggerNodeChange completed • 0 ms [2021-05-07 13:40:18:430] [51] BranchesView.refreshNode completed • 1 ms [2021-05-07 13:40:18:430] [50] BranchesViewNode.triggerChange completed • 1 ms [2021-05-07 13:40:18:431] [4f] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange completed • 1 ms [2021-05-07 13:40:18:431] [4e] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange completed • 1 ms [2021-05-07 13:40:18:431] [54] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged — se={"visible":true} [2021-05-07 13:40:18:431] [55] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:18:431] [56] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange — false [2021-05-07 13:40:18:431] [57] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange — false, false [2021-05-07 13:40:18:431] [58] RemotesViewNode.triggerChange — false, false [2021-05-07 13:40:18:431] [59] RemotesView.refreshNode — E=RemotesViewNode, M=false, u=false [2021-05-07 13:40:18:431] [5a] RemotesViewNode.refresh — false [2021-05-07 13:40:18:431] [5a] RemotesViewNode.refresh completed • 0 ms [2021-05-07 13:40:18:431] [54] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged completed • 0 ms [2021-05-07 13:40:18:432] [55] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 0 ms [2021-05-07 13:40:18:432] [5b] RemotesView.triggerNodeChange — E=RemotesViewNode [2021-05-07 13:40:18:432] [5b] RemotesView.triggerNodeChange completed • 0 ms [2021-05-07 13:40:18:432] [59] RemotesView.refreshNode completed • 0 ms [2021-05-07 13:40:18:432] [58] RemotesViewNode.triggerChange completed • 1 ms [2021-05-07 13:40:18:432] [57] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange completed • 1 ms [2021-05-07 13:40:18:432] [56] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange completed • 1 ms [2021-05-07 13:40:18:448] [5c] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:449] [5c] GitService.getBranches completed • 0 ms [2021-05-07 13:40:18:449] [5d] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:18:449] [5d] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 0 ms [2021-05-07 13:40:18:449] [5e] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:18:449] [5e] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 0 ms [2021-05-07 13:40:18:553] [3a] GitHubApi.getPullRequestForBranch completed • 280 ms [2021-05-07 13:40:18:553] [39] GitHubRemote.getPullRequestForBranch completed • 281 ms [2021-05-07 13:40:18:553] [38] GitService.getPullRequestForBranch completed • 281 ms [2021-05-07 13:40:18:554] [35] GitBranch.getAssociatedPullRequest completed • 281 ms [2021-05-07 13:40:18:555] [5f] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:572] [5f] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 16 ms [2021-05-07 13:40:18:639] [60] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:18:639] [60] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 0 ms [2021-05-07 13:40:18:639] [61] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:18:653] [61] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 14 ms [2021-05-07 13:40:19:957] [62] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged — se={"visible":false} [2021-05-07 13:40:19:957] [63] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:19:957] [64] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).unsubscribe [2021-05-07 13:40:19:958] [62] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged completed • 0 ms [2021-05-07 13:40:19:958] [64] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).unsubscribe completed • 0 ms [2021-05-07 13:40:19:958] [63] CommitsRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 0 ms [2021-05-07 13:40:24:716] [65] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged — se={"visible":false} [2021-05-07 13:40:24:716] [66] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:40:24:716] [67] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).unsubscribe [2021-05-07 13:40:24:716] [65] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onVisibilityChanged completed • 0 ms [2021-05-07 13:40:24:716] [67] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).unsubscribe completed • 0 ms [2021-05-07 13:40:24:716] [66] BranchesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 0 ms [2021-05-07 13:40:29:684] [68] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:29:686] [68] GitService.getBranches completed • 1 ms [2021-05-07 13:40:32:619] [69] GitService.getBranchAheadRange — w=origin/master [2021-05-07 13:40:32:620] [6a] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:32:620] [6a] GitService.getBranches completed • 0 ms [2021-05-07 13:40:32:621] [69] GitService.getBranchAheadRange completed • 1 ms [2021-05-07 13:40:32:621] [6b] GitService.getLog — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev, {"limit":10,"ref":"origin/master"} [2021-05-07 13:40:32:632] [6c] GitService.getBranchesAndTagsTipsFn — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev, T=origin/master [2021-05-07 13:40:32:632] [6d] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:32:633] [6e] GitService.getTags — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:32:633] [6f] GitService.getRebaseStatus — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:32:633] [70] GitBranch.getAssociatedPullRequest — W=undefined [2021-05-07 13:40:32:633] [71] GitService.getRemotes — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:32:633] [72] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:32:633] [6d] GitService.getBranches completed • 0 ms [2021-05-07 13:40:32:633] [6e] GitService.getTags completed • 0 ms [2021-05-07 13:40:32:633] [6f] GitService.getRebaseStatus completed • 0 ms [2021-05-07 13:40:32:634] [72] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:40:32:634] [6c] GitService.getBranchesAndTagsTipsFn completed • 1 ms [2021-05-07 13:40:32:634] [71] GitService.getRemotes completed • 0 ms [2021-05-07 13:40:32:634] [73] GitService.getPullRequestForBranch — w=master, T=origin, undefined [2021-05-07 13:40:32:634] [74] GitHubRemote.getPullRequestForBranch — A=master, _={} [2021-05-07 13:40:32:634] [75] GitHubApi.getPullRequestForBranch — ee=GitHub, ae=, ve=Mushe-Soft, me=Ikaros-ARPROD, Ve=master, ze={"baseUrl":"https://api.github.com"} [2021-05-07 13:40:32:652] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git log --format=%x3c%x2ff%x3e%n%x3cr%x3e%x20%H%n%x3ca%x3e%x20%aN%n%x3ce%x3e%x20%aE%n%x3cd%x3e%x20%at%n%x3cc%x3e%x20%ct%n%x3cp%x3e%x20%P%n%x3cs%x3e%n%B%n%x3c%x2fs%x3e%n%x3cf%x3e --full-history -M -m --name-status -n11 origin/master -- • 31 ms [2021-05-07 13:40:32:652] [76] GitService.getCurrentUser — /mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:40:32:652] [76] GitService.getCurrentUser completed • 0 ms [2021-05-07 13:40:32:652] [77] GitLogParser.parse [2021-05-07 13:40:32:653] [77] GitLogParser.parse completed • 0 ms [2021-05-07 13:40:32:653] [6b] GitService.getLog completed • 32 ms [2021-05-07 13:40:32:931] [75] GitHubApi.getPullRequestForBranch completed • 296 ms [2021-05-07 13:40:32:931] [74] GitHubRemote.getPullRequestForBranch completed • 296 ms [2021-05-07 13:40:32:931] [73] GitService.getPullRequestForBranch completed • 296 ms [2021-05-07 13:40:32:931] [70] GitBranch.getAssociatedPullRequest completed • 298 ms [2021-05-07 13:41:08:140] [78] ViewCommands.fetch — t=RemoteNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev):remote(origin|github.com/Mushe-Soft/Ikaros-ARPROD)), undefined [2021-05-07 13:41:08:140] [79] GitService.getRepository — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:41:08:140] [79] GitService.getRepository returned /mnt/data/Klanten/Ikaros/Git/Ikaros-dev • 0 ms [2021-05-07 13:41:08:140] [7a] Repository(/mnt/data/klanten/ikaros/git/ikaros-dev/).fetch — {"remote":"origin"} [2021-05-07 13:41:08:143] [7b] GitService.fetch — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev, T={"remote":"origin"} [2021-05-07 13:41:08:204] [7c] Repository(/mnt/data/klanten/ikaros/git/ikaros-dev/).onRepositoryChanged — O=Uri(file:///mnt/data/Klanten/Ikaros/Git/Ikaros-dev/.git/FETCHHEAD) [2021-05-07 13:41:08:204] [7d] Repository(/mnt/data/klanten/ikaros/git/ikaros-dev/).fireChange — unknown [2021-05-07 13:41:08:205] [7d] Repository(/mnt/data/klanten/ikaros/git/ikaros-dev/).fireChange completed • 0 ms [2021-05-07 13:41:08:205] [7c] Repository(/mnt/data/klanten/ikaros/git/ikaros-dev/).onRepositoryChanged completed • 0 ms [2021-05-07 13:41:08:455] Repository(/mnt/data/klanten/ikaros/git/ikaros-dev/) firing changes=unknown [2021-05-07 13:41:08:455] [7e] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onRepositoryChanged — O={ repository: Ikaros-dev, changes: unknown } [2021-05-07 13:41:08:456] [7f] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange — true [2021-05-07 13:41:08:456] [80] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange — true, false [2021-05-07 13:41:08:456] [81] RemotesViewNode.triggerChange — true, false [2021-05-07 13:41:08:456] [82] RemotesView.refreshNode — E=RemotesViewNode, M=true, u=false [2021-05-07 13:41:08:456] [83] RemotesViewNode.refresh — true [2021-05-07 13:41:08:456] [84] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).dispose [2021-05-07 13:41:08:456] [85] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).unsubscribe [2021-05-07 13:41:08:456] [84] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).dispose completed • 0 ms [2021-05-07 13:41:08:456] [83] RemotesViewNode.refresh completed • 0 ms [2021-05-07 13:41:08:456] [7e] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).onRepositoryChanged completed • 0 ms [2021-05-07 13:41:08:457] [86] RemotesView.triggerNodeChange — E=RemotesViewNode [2021-05-07 13:41:08:457] [86] RemotesView.triggerNodeChange completed • 0 ms [2021-05-07 13:41:08:457] [85] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).unsubscribe completed • 0 ms [2021-05-07 13:41:08:457] [82] RemotesView.refreshNode completed • 1 ms [2021-05-07 13:41:08:457] [81] RemotesViewNode.triggerChange completed • 1 ms [2021-05-07 13:41:08:457] [80] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange completed • 1 ms [2021-05-07 13:41:08:457] [7f] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).triggerChange completed • 1 ms [2021-05-07 13:41:08:459] [87] GitService.getOrderedRepositories [2021-05-07 13:41:08:459] [88] GitService.getRepositories [2021-05-07 13:41:08:459] [88] GitService.getRepositories completed • 0 ms [2021-05-07 13:41:08:459] [87] GitService.getOrderedRepositories completed • 0 ms [2021-05-07 13:41:08:460] [89] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription [2021-05-07 13:41:08:460] [8a] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe [2021-05-07 13:41:08:460] [8a] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).subscribe completed • 0 ms [2021-05-07 13:41:08:460] [89] RemotesRepositoryNode(gitlens:repository(/mnt/data/Klanten/Ikaros/Git/Ikaros-dev)).ensureSubscription completed • 0 ms [2021-05-07 13:41:08:467] [8b] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:41:08:468] [8b] GitService.getBranches completed • 0 ms [2021-05-07 13:41:08:482] [8c] GitService.getBranchAheadRange — w=origin/master [2021-05-07 13:41:08:482] [8d] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:41:08:483] [8d] GitService.getBranches completed • 0 ms [2021-05-07 13:41:08:483] [8c] GitService.getBranchAheadRange completed • 0 ms [2021-05-07 13:41:08:483] [8e] GitService.getLog — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev, {"limit":10,"ref":"origin/master"} [2021-05-07 13:41:08:491] [8f] GitService.getBranchesAndTagsTipsFn — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev, T=origin/master [2021-05-07 13:41:08:491] [90] GitService.getBranches — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:41:08:491] [91] GitService.getTags — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:41:08:491] [92] GitService.getRebaseStatus — w=/mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:41:08:491] [93] GitBranch.getAssociatedPullRequest — W=undefined [2021-05-07 13:41:08:492] [90] GitService.getBranches completed • 0 ms [2021-05-07 13:41:08:492] [91] GitService.getTags completed • 0 ms [2021-05-07 13:41:08:492] [92] GitService.getRebaseStatus completed • 0 ms [2021-05-07 13:41:08:492] [94] GitService.getPullRequestForBranch — w=master, T=origin, undefined [2021-05-07 13:41:08:492] [95] GitHubRemote.getPullRequestForBranch — A=master, ={} [2021-05-07 13:41:08:492] [96] GitHubApi.getPullRequestForBranch — ee=GitHub, ae=, ve=Mushe-Soft, me=Ikaros-ARPROD, Ve=master, ze={"baseUrl":"https://api.github.com"} [2021-05-07 13:41:08:494] [8f] GitService.getBranchesAndTagsTipsFn completed • 3 ms [2021-05-07 13:41:08:512] [/mnt/data/Klanten/Ikaros/Git/Ikaros-dev] git log --format=%x3c%x2ff%x3e%n%x3cr%x3e%x20%H%n%x3ca%x3e%x20%aN%n%x3ce%x3e%x20%aE%n%x3cd%x3e%x20%at%n%x3cc%x3e%x20%ct%n%x3cp%x3e%x20%P%n%x3cs%x3e%n%B%n%x3c%x2fs%x3e%n%x3cf%x3e --full-history -M -m --name-status -n11 origin/master -- • 29 ms [2021-05-07 13:41:08:513] [97] GitService.getCurrentUser — /mnt/data/Klanten/Ikaros/Git/Ikaros-dev [2021-05-07 13:41:08:513] [97] GitService.getCurrentUser completed • 0 ms [2021-05-07 13:41:08:513] [98] GitLogParser.parse [2021-05-07 13:41:08:513] [98] GitLogParser.parse completed • 0 ms [2021-05-07 13:41:08:513] [8e] GitService.getLog completed • 30 ms [2021-05-07 13:41:08:782] [96] GitHubApi.getPullRequestForBranch completed • 289 ms [2021-05-07 13:41:08:782] [95] GitHubRemote.getPullRequestForBranch completed • 289 ms [2021-05-07 13:41:08:782] [94] GitService.getPullRequestForBranch completed • 289 ms [2021-05-07 13:41:08:782] [93] GitBranch.getAssociatedPullRequest completed • 290 ms [2021-05-07 13:41:12:349] ShowMessage(warn, 'GitLens debug logging is currently enabled. Unless you are reporting an issue, it is recommended to be disabled. Would you like to disable it?', suppressDebugLoggingWarning, {"title":"Don't Show Again"}) [2021-05-07 13:41:18:277] ShowMessage(warn, 'GitLens debug logging is currently enabled. Unless you are reporting an issue, it is recommended to be disabled. Would you like to disable it?', suppressDebugLoggingWarning, {"title":"Don't Show Again"}) returned undefined [2021-05-07 13:42:25:643] [99] GitService.onWindowStateChanged — w={"focused":false} [2021-05-07 13:42:25:644] [99] GitService.onWindowStateChanged completed • 0 ms [2021-05-07 13:43:09:961] [9a] GitService.onWindowStateChanged — w={"focused":true} [2021-05-07 13:43:09:961] [9a] GitService.onWindowStateChanged completed • 0 ms

eamodio commented 3 years ago

Unfortunately I can't reproduce this -- can you provide more details? Are you using a remote workspace (WSL, SSH, or a container)? Anything else different about your setup?

Mushe-Soft commented 3 years ago

Hi, Thank you for your reaction.

I'm connected to GitHub via HTTPS, using a local workspace. I've also following extentions activated :

I have no troubles when using command line instructions like "git fetch --all".

Kind regards, Marc

eamodio commented 3 years ago

Unfortunately, I'm unable to reproduce this, nor can I tell why this is happening.

Can you or someone else in the community that can reproduce this, help debug it? Thanks!

Mushe-Soft commented 3 years ago

Hello eamodio, I would be glad to help you, yet do not have the skills to debug such a VSCode extention (and in short term not the time to learn it). I was asking myself if there could be some issue with login credentials (however : I have no trouble doing a pull from within the vscode interface).

I've tried again using the debug output level, and these are the last two lines on the moment the "Fetching..." notification keeps showing : [2021-06-15 08:21:38:347] [95] GitService.getRepository — v=/mnt/data/Klanten/Herbots/HIPA/HIPA.git/HPROD [2021-06-15 08:21:38:378] [95] GitService.getRepository returned /mnt/data/Klanten/Herbots/HIPA/HIPA.git/HPROD

and this is the last git output :

git remote --verbose git config --get commit.template

I hope to be able to do a debug session within a month or 2. Kind regards, Marc

mmubeen commented 3 years ago

I see the same issue consistently. I am using wsl based git (in a ubuntu instance). Running Visual code in a windows environment. When I do a fetch on a github repository I see never ending notification of "Fetching origin of ". I do not have issues with any other kind of git repos or even on command line. So this is very specifically vscode and github not playing nice

peterswords commented 3 years ago

I am also seeing the same issue. Running wsl2-based git in Amazon Linux 2, and running VS Code with remote-wsl. Gitlens is the only other extension I have installed. Git works ok, Gitlens hangs while doing a fetch when Remotes > (my-repo) > Refresh is chosen. Screenshot of hung "Fetching" message attached.

Capture

I would guess the salient debug output is this -- it's very similar to a line in the log that Mushe-Soft posted previously:

[2021-08-29 18:06:45:644] [22] ViewCommands.fetch — t=RemoteNode(gitlens:repository(/home/async_sample):remote(async_sample|github.com/peterswords/async_sample)), undefined

... however, it still doesn't explain why it hangs, and in any case I have successfully pushed changes to that repository using VScode. The complete Gitlens debug output is in the attached file, gitlens_error_output.txt.

EDIT 27-Sep: As mentioned in https://github.com/eamodio/vscode-gitlens/issues/1649 I moved to developing in a Docker container within WSL2. After installing GitLens in the container this problem went away and I can no longer reproduce.

alex-novikov-1990 commented 3 years ago

Unfortunately, I'm unable to reproduce this, nor can I tell why this is happening.

Can you or someone else in the community that can reproduce this, help debug it? Thanks!

WSL instance with passphrase-protected ssh key inside:

  1. Just open VS Code via code . in repository directory in WSL - origin fetch hangs.
  2. Run eval `ssh-agent` && ssh-add and enter passphrase for the ssh key before running VS Code - origin fetch works normally.

I think it hangs when git asks to enter passphrase for the ssh key.

peterswords commented 3 years ago

Interesting. I switched from developing directly in WSL2 to developing in a container and the problem went away. But in between I had done a git config credential.helper store. (I'm not using SSH keys). That could explain it. But why don't VS Code's own built-in git tools suffer from the same problem?

Mushe-Soft commented 2 years ago

From the VS Code docs :

Why do the Pull, Push and Sync actions never finish? This usually means there is no credential management configured in Git and you're not getting credential prompts for some reason. You can always set up a credential helper in order to pull and push from a remote server without having VS Code prompt for your credentials each time.

This did the job : no more endless syncing.

Until now I used the simple user-password authentication. Now that GitHub disallowes that (should be already stopped the 13th of august, yet only 2 months later I am forced to change), I'm using the GitHub CLI (https://docs.github.com/en/get-started/getting-started-with-git/caching-your-github-credentials-in-git).

yaroslavsadin commented 2 years ago

I'm hitting the same issue, tried something of the above but no luck. Is this planned to be fixed somehow?