gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
9.01k stars 1.34k forks source link

PR Autolinks pointing to the wrong PR #3071

Open axosoft-ramint opened 10 months ago

axosoft-ramint commented 10 months ago

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

Bibendus83 commented 8 months ago

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

tomchon commented 1 month ago

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