ben-gibson / GitLink

A Jetbrains plugin that opens a local file under Git version control in its remote host using the default browser.
https://plugins.jetbrains.com/plugin/8183-gitlink
MIT License
728 stars 59 forks source link

Do not call git functions when the "Check commit on remote" is turned off #201

Closed andras-tim closed 2 years ago

andras-tim commented 2 years ago

I use SSH with pubkey auth, and our repo is enormous, so this checking is sooo long.

Therefore I turned off this checking, but now the PyCharm always asks the ssh user's password (3 times per action)... which is not exist.

I loved the original functionality when this URL creation was a dumb concatenation of the necessary parameters. That was superfast and I expected this functionality when I turn off the mentioned checkbox.

May I ask to recover this functionality when I turns off the Check commit on remote option?

ben-gibson commented 2 years ago

I've opted to change the existing setting Check commit on remote to a more general Check remote option that disables all checks on the remote (commit and branch). I think that aligns with the desired behaviour, which is, on large repositories to avoid the performance cost of a remote check. #251

ben-gibson commented 2 years ago

This has been released in 4.2.2