vscode-gitlink icon indicating copy to clipboard operation
vscode-gitlink copied to clipboard

Incorrectly resolves links for projects in nested GitLab (sub-)groups

Open maxk096 opened this issue 3 years ago • 0 comments

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

maxk096 avatar Jul 20 '22 11:07 maxk096