vscode-gitlink
vscode-gitlink copied to clipboard
Incorrectly resolves links for projects in nested GitLab (sub-)groups
VS Code: v1.69.1 Extension version: v1.2.4, default settings.
I have a GitLab group with nested subgroups. When a subgroup contains a project, the links are not correctly resolved.
For example, the actual link to the project looks like this:
https://gitlab.com/top-level-group/sub-group/actual-project
The extension resolves the following link to the file package.json:
https://gitlab.com/top-level-group/sub-group/blob/main/package.json#L1
You can see that the actual-project part is omitted from this link, resulting in an incorrect link.
The expected link is:
https://gitlab.com/top-level-group/sub-group/actual-project/blob/main/package.json#L1