Skip to content

Show branches list (which branches contains commit) on commit page

Created by: zzet

Shown in the first screenshot: commit-box when the page loads

it looks like commit-box when the page loads.

For example: In any project there default_branch ( branch defaults to the first commit to the repository and can be changed later in the project settings ). If a commit in a branch that is set as the "default branch" - that is displayed:

"Exist in default branch, and in other branches count branch(es)".

What stood out in the text so - a links . When you click on and in other branches count branch(es) - immediately displays a list of links to other branches on the spot phrase and in other_branches_count branch(es).

commit-box when the page loads

If the default branch is not contains commit in - then the first branch from the list of branches, which include a commit displayed in place default branch.

Refs to http://feedback.gitlab.com/forums/176466-general/suggestions/4164763-show-which-branches-contain-a-commit

Merge request reports

Loading