stable

Clone or download

Read-only

Git branch selector displays the default branch

Since it is not yet possible to change the default branch it only display the badge on branches named "master" (it is the current git default). You can still play with it by executing in a repo as the gitolite user `git symbolic-ref HEAD refs/heads/<branch_name>`. Part of request #13356: Allow to change the default branch Change-Id: Id5ad1cf1d97c95f28ee46d022253263136c14c88

Modified Files

Name
M plugins/git/include/Git/Repository/View/FilesHeaderPresenter.php +8 −3 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/po/fr_FR.po +3 −0 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/src/components/App.vue +3 −0 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/src/components/BranchesSection.test.ts +7 −2 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/src/components/BranchesSection.vue +9 −0 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/src/components/TagsSection.test.ts +3 −2 Go to diff View file
M plugins/git/scripts/repository/branch-tag-selector/src/index.ts +5 −0 Go to diff View file
M plugins/git/templates/repository/gitphp/header.mustache +1 −0 Go to diff View file
M plugins/git/tests/unit/Git/Repository/View/FilesHeaderPresenterBuilderTest.php +3 −1 Go to diff View file