Tags: patch Hi, I investigated why bug-reference-mode's automatic setup wasn't doing what I expected for some git repositories when the mode is enabled on Magit buffers. It turned out that, unsurprisingly, the inference mechanism requires one of the remotes to the called "upstream" or "origin" (since this condition didn't hold for the aforementioned repositories, the conclusion follows). Please find a trivial patch attached that makes this condition clearer. It would make sense for Tassilo Horn or Basil L. Contovounesios to take a look at the patch since they have touched on this functionality recently. Thank you. -- André A. Gomes "You cannot even find the ruins..."