kawamataryo / copy-git-link

Provides a shortcut to copy permalink in their online Git repositories.
https://plugins.jetbrains.com/plugin/17756-copy-git-link
25 stars 13 forks source link

BeatBucket URL is wrong #11

Open Artem-Rya-from-Avito opened 2 years ago

Artem-Rya-from-Avito commented 2 years ago

Hi, is there a way to configure it somewhere, or fix :)

BeatBucket link created by the plugin (ACTUAL): https://%CORPORATE.URL.CZ%/7999/av/%REPO_NAME%/blob/8374yruryg4/%REPO_PATH%/NegativeTest.php#L67

Actually working URL (EXPECTED): https:/%CORPORATE.URL.CZ%/projects/av/repos/%REPO_NAME%/browse/%REPO_PATH%/NegativeTest.php?until=8374yruryg4#L67

flaerni commented 1 year ago

+1

I think this happens when a project is checked out using a ssh key. It's a slight inconvenience because the fix is very easy, but would be an enhancement