magit/magit — pull request #1426 by kyleam (2014-07-12 21:50:01+00:00)
Title: magit-insert-remote-branches: Account for HEAD

When running `git branch -vvr`, cloned repos have a line like below.

origin/HEAD -> origin/master

This is not matched by `magit-wash-branch-line-re`, leading to an error
when `magit-bind-match-strings` is called.

Now, `magit-bind-match-strings` is called only when a match is found.