gitlabhq/gitlab_git — pull request #55 by AustP (2014-12-29 22:38:00+00:00)
Title: Ensure that we don't have dupes in branches list

After converting an SVN repo to Git and importing it into GitLab a few of the branches were duped in the branches list. Doing `git branch -a` showed that my repo didn't have any duped branches so it seemed like the issue was in GitLab somewhere. Adding the `uniq` checked solved the issue for me.