-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
blockedBlocked or caused by an upstream issue or featureBlocked or caused by an upstream issue or featureblocked: vscodeCaused by or dependent on a VS Code issue or featureCaused by or dependent on a VS Code issue or feature
Milestone
Description
Possibly related to #932
- GitLens Version:
11.0.6 - Git Version:
git version 2.27.0.windows.1
- VSCode Version:
1.52.0 - OS Version:
Win 10
Steps to Reproduce:
- Close all editors
- Open editor to tracked file
- Look at file history
In the GitLens output, I see, e.g.:
FileHistoryNode(gitlens:repository(c:/githubdata/Build):history:file(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)).ensureSubscription completed • 10 ms
The absolute path is being appended to the repo path, I think. Relevant output:
[2020-12-15 19:28:01:744] [600] FileHistoryNode(gitlens:repository(c:/githubdata/Build):history:file(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)).ensureSubscription
[2020-12-15 19:28:01:744] [601] FileHistoryNode(gitlens:repository(c:/githubdata/Build):history:file(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)).subscribe
[2020-12-15 19:28:01:744] [602] GitService.getRepository — e=GitUri(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build)
[2020-12-15 19:28:01:745] [603] GitService.getBranchAheadRange — e=staging
[2020-12-15 19:28:01:745] [603] GitService.getBranchAheadRange completed • 0 ms
[2020-12-15 19:28:01:745] [604] GitService.getLogForFile — e=c:/githubdata/Build, t=c:\githubdata\Build\c:\Githubdata\Build\Public\Add-NestedImportStatement.ps1, i={"limit":40}
[2020-12-15 19:28:01:745] [605] GitService.getStatusForFile — e=c:/githubdata/Build, t=c:\githubdata\Build\c:\Githubdata\Build\Public\Add-NestedImportStatement.ps1
[2020-12-15 19:28:01:754] [602] GitService.getRepository returned c:/githubdata/Build • 9 ms
[2020-12-15 19:28:01:755] [601] FileHistoryNode(gitlens:repository(c:/githubdata/Build):history:file(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)).subscribe completed • 10 ms
[2020-12-15 19:28:01:755] [600] FileHistoryNode(gitlens:repository(c:/githubdata/Build):history:file(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)).ensureSubscription completed • 10 ms
Full output when opening file
[2020-12-15 19:28:01:404] [5e5] GitUri.fromUri — e=Uri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)
[2020-12-15 19:28:01:404] [5e6] GitService.getRepoPath — e=Uri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)
[2020-12-15 19:28:01:404] [5e7] GitService.getRepository — e=Uri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1), t={"skipCacheUpdate":true}
[2020-12-15 19:28:01:404] [5e8] LineAnnotationController.onActiveLinesChanged — e=editor=file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1, selections=undefined, pending=true, reason=selection
[2020-12-15 19:28:01:404] [5e9] LineAnnotationController.clear completed • 0 ms
[2020-12-15 19:28:01:404] [5e8] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2020-12-15 19:28:01:404] [5ea] LineHoverController.onActiveLinesChanged — e=editor=file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1, selections=undefined, pending=true, reason=selection
[2020-12-15 19:28:01:404] [5ea] LineHoverController.onActiveLinesChanged completed • 0 ms
[2020-12-15 19:28:01:404] [5e7] GitService.getRepository returned undefined • 0 ms
[2020-12-15 19:28:01:404] [5eb] GitService.getRepoPathCore — e=c:\Githubdata\Build\Public\Add-NestedImportStatement.ps1, t=false
[2020-12-15 19:28:01:485] [c:\Githubdata\Build\Public] git rev-parse --show-toplevel • 80 ms
[2020-12-15 19:28:01:485] [5eb] GitService.getRepoPathCore completed • 80 ms
[2020-12-15 19:28:01:485] [5e6] GitService.getRepoPath returned c:/githubdata/Build • 81 ms
[2020-12-15 19:28:01:485] [5e5] GitUri.fromUri returned GitUri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build) • 81 ms
[2020-12-15 19:28:01:485] [5ec] GitService.getRepository — e=GitUri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build)
[2020-12-15 19:28:01:485] [5ec] GitService.getRepository returned c:/githubdata/Build • 0 ms
[2020-12-15 19:28:01:486] [5ed] GitService.isTracked returned true • 0 ms — e=GitUri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build)
[2020-12-15 19:28:01:654] [5ee] FileHistoryTrackerNode.onActiveEditorChanged
[2020-12-15 19:28:01:654] [5ef] FileHistoryTrackerNode.triggerChange
[2020-12-15 19:28:01:654] [5f0] FileHistoryTrackerNode.triggerChange — false, false
[2020-12-15 19:28:01:654] [5f1] FileHistoryView.refreshNode — e=FileHistoryTrackerNode, t=false, i=false
[2020-12-15 19:28:01:654] [5f2] FileHistoryTrackerNode.refresh — false
[2020-12-15 19:28:01:654] [5f3] GitUri.fromUri — e=Uri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)
[2020-12-15 19:28:01:654] [5f4] GitService.getRepoPath — e=Uri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)
[2020-12-15 19:28:01:654] [5f5] GitService.getRepository — e=Uri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1), t={"skipCacheUpdate":true}
[2020-12-15 19:28:01:654] [5ee] FileHistoryTrackerNode.onActiveEditorChanged completed • 0 ms
[2020-12-15 19:28:01:654] [5f5] GitService.getRepository returned undefined • 0 ms
[2020-12-15 19:28:01:654] [5f6] GitService.getRepoPathCore — e=c:\Githubdata\Build\Public\Add-NestedImportStatement.ps1, t=false
[2020-12-15 19:28:01:662] [5f8] GitService.getBlameForLine — e=GitUri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build), t=64
[2020-12-15 19:28:01:662] [5f9] GitService.getBlameForFile — e=GitUri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build)
[2020-12-15 19:28:01:662] [5f9] GitService.getBlameForFile Cache miss: 'blame'
[2020-12-15 19:28:01:662] [5f9] GitService.getBlameForFile Cache add: 'blame'
[2020-12-15 19:28:01:662] [5fa] GitService.isTracked returned true • 0 ms — e=GitUri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build)
[2020-12-15 19:28:01:730] [c:\Githubdata\Build\Public] git rev-parse --show-toplevel • 75 ms
[2020-12-15 19:28:01:730] [5f6] GitService.getRepoPathCore completed • 75 ms
[2020-12-15 19:28:01:730] [5f4] GitService.getRepoPath returned c:/githubdata/Build • 76 ms
[2020-12-15 19:28:01:730] [5f3] GitUri.fromUri returned GitUri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build) • 76 ms
[2020-12-15 19:28:01:730] [5fb] FileHistoryTrackerNode.resetChild
[2020-12-15 19:28:01:730] [5fb] FileHistoryTrackerNode.resetChild completed • 0 ms
[2020-12-15 19:28:01:730] [5f2] FileHistoryTrackerNode.refresh returned false, uri=GitUri(file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build) • 76 ms
[2020-12-15 19:28:01:730] [5fc] FileHistoryView.triggerNodeChange — e=FileHistoryTrackerNode
[2020-12-15 19:28:01:730] [5fc] FileHistoryView.triggerNodeChange completed • 0 ms
[2020-12-15 19:28:01:730] [5f1] FileHistoryView.refreshNode completed • 76 ms
[2020-12-15 19:28:01:730] [5f0] FileHistoryTrackerNode.triggerChange completed • 76 ms
[2020-12-15 19:28:01:730] [5ef] FileHistoryTrackerNode.triggerChange completed • 76 ms
[2020-12-15 19:28:01:744] [5fd] FileHistoryTrackerNode.ensureSubscription
[2020-12-15 19:28:01:744] [5fe] GitService.getBranch — e=c:/githubdata/Build
[2020-12-15 19:28:01:744] [5ff] GitService.getBranches — e=c:/githubdata/Build, t={}
[2020-12-15 19:28:01:744] [5fd] FileHistoryTrackerNode.ensureSubscription completed • 0 ms
[2020-12-15 19:28:01:744] [5ff] GitService.getBranches completed • 0 ms
[2020-12-15 19:28:01:744] [5fe] GitService.getBranch completed • 0 ms
[2020-12-15 19:28:01:744] [600] FileHistoryNode(gitlens:repository(c:/githubdata/Build):history:file(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)).ensureSubscription
[2020-12-15 19:28:01:744] [601] FileHistoryNode(gitlens:repository(c:/githubdata/Build):history:file(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)).subscribe
[2020-12-15 19:28:01:744] [602] GitService.getRepository — e=GitUri(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 repoPath=c:/githubdata/Build)
[2020-12-15 19:28:01:745] [603] GitService.getBranchAheadRange — e=staging
[2020-12-15 19:28:01:745] [603] GitService.getBranchAheadRange completed • 0 ms
[2020-12-15 19:28:01:745] [604] GitService.getLogForFile — e=c:/githubdata/Build, t=c:\githubdata\Build\c:\Githubdata\Build\Public\Add-NestedImportStatement.ps1, i={"limit":40}
[2020-12-15 19:28:01:745] [605] GitService.getStatusForFile — e=c:/githubdata/Build, t=c:\githubdata\Build\c:\Githubdata\Build\Public\Add-NestedImportStatement.ps1
[2020-12-15 19:28:01:754] [602] GitService.getRepository returned c:/githubdata/Build • 9 ms
[2020-12-15 19:28:01:755] [601] FileHistoryNode(gitlens:repository(c:/githubdata/Build):history:file(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)).subscribe completed • 10 ms
[2020-12-15 19:28:01:755] [600] FileHistoryNode(gitlens:repository(c:/githubdata/Build):history:file(file:///c:/githubdata/Build/c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1)).ensureSubscription completed • 10 ms
[2020-12-15 19:28:01:755] [604] GitService.getLogForFile Cache hit: 'log:n40'
[2020-12-15 19:28:01:755] [604] GitService.getLogForFile completed • 9 ms
[2020-12-15 19:28:01:774] [c:/githubdata/Build] git blame --root --incremental -w -- Public/Add-NestedImportStatement.ps1 • 112 ms
[2020-12-15 19:28:01:775] [606] GitService.getCurrentUser — c:/githubdata/Build
[2020-12-15 19:28:01:775] [606] GitService.getCurrentUser completed • 0 ms
[2020-12-15 19:28:01:775] [607] GitBlameParser.parse completed • 0 ms
[2020-12-15 19:28:01:775] [5f9] GitService.getBlameForFile completed • 113 ms
[2020-12-15 19:28:01:775] [5f8] GitService.getBlameForLine completed • 113 ms
[2020-12-15 19:28:01:775] [5f7] GitLineTracker.updateState returned true • 113 ms — e=64, t=file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1
[2020-12-15 19:28:01:775] [608] LineAnnotationController.onActiveLinesChanged — e=editor=file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1, selections=[64-64], pending=false, reason=selection
[2020-12-15 19:28:01:775] [609] LineAnnotationController.refresh
[2020-12-15 19:28:01:775] [60a] LineAnnotationController.clear completed • 0 ms
[2020-12-15 19:28:01:775] [608] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2020-12-15 19:28:01:775] [60b] LineHoverController.onActiveLinesChanged — e=editor=file:///c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1, selections=[64-64], pending=false, reason=selection
[2020-12-15 19:28:01:775] [60b] LineHoverController.onActiveLinesChanged completed • 0 ms
[2020-12-15 19:28:01:776] [60c] GitService.getRemoteWithApiProvider
[2020-12-15 19:28:01:776] [60c] GitService.getRemoteWithApiProvider completed • 0 ms
[2020-12-15 19:28:01:777] [609] LineAnnotationController.refresh completed • selection(s)=[64-64] • 1 ms
[2020-12-15 19:28:01:826] [c:/githubdata/Build] git status --porcelain=v2 --find-renames -- c:/Githubdata/Build/Public/Add-NestedImportStatement.ps1 • 81 ms
[2020-12-15 19:28:01:827] [60d] GitStatusParser.parse completed • 0 ms
[2020-12-15 19:28:01:827] [605] GitService.getStatusForFile completed • 81 ms
[2020-12-15 19:28:03:078] [60e] FileHistoryTrackerNode.onActiveEditorChanged
[2020-12-15 19:28:03:078] [60f] FileHistoryTrackerNode.triggerChange
[2020-12-15 19:28:03:078] [610] FileHistoryTrackerNode.triggerChange — false, false
[2020-12-15 19:28:03:078] [611] FileHistoryView.refreshNode — e=FileHistoryTrackerNode, t=false, i=false
[2020-12-15 19:28:03:078] [612] FileHistoryTrackerNode.refresh — false
[2020-12-15 19:28:03:078] [60e] FileHistoryTrackerNode.onActiveEditorChanged completed • 0 ms
[2020-12-15 19:28:03:078] [612] FileHistoryTrackerNode.refresh returned true • 0 ms
[2020-12-15 19:28:03:078] [611] FileHistoryView.refreshNode completed • 0 ms
[2020-12-15 19:28:03:078] [610] FileHistoryTrackerNode.triggerChange completed • 0 ms
[2020-12-15 19:28:03:078] [60f] FileHistoryTrackerNode.triggerChange completed • 0 ms
Metadata
Metadata
Assignees
Labels
blockedBlocked or caused by an upstream issue or featureBlocked or caused by an upstream issue or featureblocked: vscodeCaused by or dependent on a VS Code issue or featureCaused by or dependent on a VS Code issue or feature