Smarter branches list in commit details
When I view the details of a commit, I can see a list of all the branches that include the commit, but if the repository has more than 1,000 branches I see nothing. If the commit is in the default branch or in a merge request, we should always be able to show those branches.
Example: https://gitlab.com/gitlab-org/gitlab-ce/commit/896ad667fb3afa5033f6dbc3b054d2016b0d8e91
Proposal
Handle common situations better:
- If the commit is part of a merge request, we know the commit is in that branch.
- Even if there are over 1,000 branches check if the commit is on master.
Links
0
Edited by Torsten Linz