libgit2/libgit2 — pull request #1699 by aep (2013-07-03 10:46:05+00:00)
Title: canonilize merge name in git_branch_upstream__name

most git tracking configs use the short name.
all the called functions expect the full name of the ref,
otherwise they error out or even cause memory corruption