Open File on Remote path is wrong
raduchiriac opened this issue · comments
Description
When I do a Open on Remote (Web) > Open File on Remote
, the URL I am taken to is wrong, concatenation is performed incorrectly. I see too many https://
prepended
GitLens Version
15.0.4
VS Code Version
Version: 1.89.1
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:14:32.757Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.5.0
Git Version
git version 2.45.1
Logs, Screenshots, Screen Captures, etc
[2024-05-28 08:58:26.168] [ 6b] GitUri.fromUri(e=Uri(file:///Users/radu/Projects/MyProject/Root/Views/Cookie/Default.cshtml))
[2024-05-28 08:58:26.168] [ 6c] GitProviderService.getOrOpenRepository(e=Uri(file:///Users/radu/Projects/MyProject/Root/Views/Cookie/Default.cshtml))
[2024-05-28 08:58:26.168] [ 6d] GitProviderService.getRepository(e=Uri(file:///Users/radu/Projects/MyProject/Root/Views/Cookie/Default.cshtml))
[2024-05-28 08:58:26.168] [ 6d] GitProviderService.getRepository(e=Uri(file:///Users/radu/Projects/MyProject/Root/Views/Cookie/Default.cshtml)) returned x(/Users/radu/Projects/MyProject) [0ms]
[2024-05-28 08:58:26.169] [ 6c] GitProviderService.getOrOpenRepository(e=Uri(file:///Users/radu/Projects/MyProject/Root/Views/Cookie/Default.cshtml)) returned x(/Users/radu/Projects/MyProject) [0ms]
[2024-05-28 08:58:26.169] [ 6b] GitUri.fromUri(e=Uri(file:///Users/radu/Projects/MyProject/Root/Views/Cookie/Default.cshtml)) returned GitUri(file:///Users/radu/Projects/MyProject/Root/Views/Cookie/Default.cshtml repoPath=/Users/radu/Projects/MyProject) [0ms]
[2024-05-28 08:58:26.169] [ 6e] GitProviderService.getRemotesWithProviders(e=/Users/radu/Projects/MyProject, t={"sort":true})
[2024-05-28 08:58:26.169] [ 6f] GitProviderService.getRemotes(e=/Users/radu/Projects/MyProject, t={"sort":true}, i=undefined)
[2024-05-28 08:58:26.169] [ 70] LocalGitProvider.getRemotes(e=/Users/radu/Projects/MyProject)
[2024-05-28 08:58:26.169] [ 70] LocalGitProvider.getRemotes(e=/Users/radu/Projects/MyProject) completed [0ms]
[2024-05-28 08:58:26.169] [ 6f] GitProviderService.getRemotes(e=/Users/radu/Projects/MyProject, t={"sort":true}, i=undefined) completed [0ms]
[2024-05-28 08:58:26.169] [ 6e] GitProviderService.getRemotesWithProviders(e=/Users/radu/Projects/MyProject, t={"sort":true}) completed [0ms]
[2024-05-28 08:58:26.169] [ 71] GitProviderService.getBranch(e=/Users/radu/Projects/MyProject)
[2024-05-28 08:58:26.169] [ 72] LocalGitProvider.getBranch(e=/Users/radu/Projects/MyProject)
[2024-05-28 08:58:26.169] [ 73] LocalGitProvider.getBranches(e=/Users/radu/Projects/MyProject)
[2024-05-28 08:58:26.169] [ 73] LocalGitProvider.getBranches(e=/Users/radu/Projects/MyProject) completed [0ms]
[2024-05-28 08:58:26.169] [ 72] LocalGitProvider.getBranch(e=/Users/radu/Projects/MyProject) completed [0ms]
[2024-05-28 08:58:26.169] [ 71] GitProviderService.getBranch(e=/Users/radu/Projects/MyProject) completed [0ms]
[2024-05-28 08:58:26.170] [ 74] GitProviderService.getBranches(e=/Users/radu/Projects/MyProject)
[2024-05-28 08:58:26.170] [ 75] LocalGitProvider.getBranches(e=/Users/radu/Projects/MyProject)
[2024-05-28 08:58:26.170] [ 76] GitProviderService.getTags(e=/Users/radu/Projects/MyProject)
[2024-05-28 08:58:26.170] [ 77] LocalGitProvider.getTags(e=/Users/radu/Projects/MyProject)
[2024-05-28 08:58:26.170] [ 75] LocalGitProvider.getBranches(e=/Users/radu/Projects/MyProject) completed [0ms]
[2024-05-28 08:58:26.170] [ 77] LocalGitProvider.getTags(e=/Users/radu/Projects/MyProject) completed [0ms]
[2024-05-28 08:58:26.170] [ 74] GitProviderService.getBranches(e=/Users/radu/Projects/MyProject) completed [0ms]
[2024-05-28 08:58:26.170] [ 76] GitProviderService.getTags(e=/Users/radu/Projects/MyProject) completed [0ms][2024-05-28 08:58:55.254] [ 78] TimelineWebviewProvider.onActiveEditorChanged
[2024-05-28 08:58:55.254] [ 78] TimelineWebviewProvider.onActiveEditorChanged completed [0ms][2024-05-28 08:59:53.550] [ 79] GitProviderService.onWindowStateChanged(e=focused=true)
[2024-05-28 08:59:53.550] [ 79] GitProviderService.onWindowStateChanged(e=focused=true) completed [0ms][2024-05-28 09:00:05.063] [ 7a] GitProviderService.onWindowStateChanged(e=focused=true)
[2024-05-28 09:00:05.064] [ 7a] GitProviderService.onWindowStateChanged(e=focused=true) completed [0ms]
Can you confirm your gitlens.remotes.urls
are correct? In this case I'm guessing it would use the gitlens.remotes.urls.file