glab asks which repository when multiple remotes are present but uses 'origin' repository anyway
Created by: maxice8
Description Screenshot should explain it all, It asks if I want Leo/aports or alpine/aports, I pick the latter but the mr view command still uses the old one.
Expected Behavior vs Actual Behavior It to check against the picked repo after asking me a repo to pick
Steps to Reproduce
- Clone a gitlab repo from gitlab.alpinelinux.org like gitlab.alpinelinux.org/Leo/atools
- Add a second remote
- try to run any command querying a merge request/issue
- when it asks which one you want to query in by default answer the one that isn't origin
- watch it use the one that is origin
Your Environment
- Version used (Run
glab --version
): glab version 1.12.1-82-g0c3ff7e8 (2020-12-21) - Operating System and version: Fedora SilverBlue 33