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

PR Autolinks pointing to the wrong PR

Open axosoft-ramint opened this issue 2 years ago • 2 comments

Description

Case 1:

How is this autolink generated? It's pointing at an unrelated remote, instead of the PR target (which is also origin) so I get a 404. I would expect it to either pick the correct PR target (fork) or default to origin - or, if someone made an oopsie, then perhaps even the fork that the PR is coming from. But it's picked a seemingly-random one.

image

Case 2:

I’ve been experiencing something similar here, where the commit looks correct but the associated PR is one of my recent PRs instead of the PR where the commit was introduced.

image

GitLens Version

14.6.0

VS Code Version

No response

Git Version

No response

Logs, Screenshots, Screen Captures, etc

No response

axosoft-ramint avatar Dec 20 '23 17:12 axosoft-ramint

I have the same issue since... EVER it seems that it does some kind of mixup between the true commit/diff and the last committed PR

immagine

Note that I have this issue on EVERY line immagine

immagine

However it seems to work properly when a commit didn't come from a PR, unsure if that's related immagine

Bibendus83 avatar Mar 08 '24 14:03 Bibendus83

i have the same question and how do you solve this problem ,like using other pluging?@Bibendus83

tomchon avatar Sep 20 '24 08:09 tomchon