rmuslimov / browse-at-remote

Browse target page on github/bitbucket from emacs buffers
232 stars 53 forks source link

Wrong remote selected #74

Closed joeheyming closed 1 year ago

joeheyming commented 3 years ago

I have a repository that uses gerrit code review. How that works is that you set up a remote.

I tried out browse-at-remote with this repository and it selected the gerrit remote, when I wanted to select the 'origin' remote. If you do git remote, it list them in alphabetical order :-( so gerrit gets selected.

I thought of a couple of ways to solve this: 1) Provide a custom variable which filters out repos you don't want. 2) Provide a custom variable which selects a preferred remote 3) Provide a popup menu when there are multiple remotes and let the user select the appropriate remote

Anyway, thoughts?