vermiculus / magithub

**DEPRECATED - please use Forge instead!** -- Magit-based interfaces to GitHub
GNU General Public License v3.0
579 stars 62 forks source link

Recent change to PR fork default doesn't play well w/ ivy #346

Open aaronjensen opened 6 years ago

aaronjensen commented 6 years ago

This commit defaults to my username as the fork: https://github.com/vermiculus/magithub/commit/2f2bb1cf08b742d49cd3a278f89baefa0a5a524c

That's ok if I have a fork, but if I don't, and I'm using ivy as my chooser I end up seeing no options. I have to erase my github username from the search to find origin.

vermiculus commented 5 years ago

I use ivy as my primary completion system – my assumption is that your fork will be under your username. Is that not correct for you?

aaronjensen commented 5 years ago

If I have two remotes (when I wrote this originally the code to default to the only remote was not present) and neither of them is a fork, I do not have a remote named after my username, so defaulting to that doesn’t work properly.

I’m on my phone and haven’t tested this recently, but that was the problem.