libgit2/libgit2 — pull request #2404 by carlosmn (2014-06-05 23:16:10+00:00)
Title: Remote rename fixes

We want to overwrite a reference which is already in the target namespace to do what git does.

We were also trying to rename *every* remote-tracking branch into our namespace, with pretty bad results, unsurprisingly.

Discovered by libgit2/libgit2sharp#741