| | |
| | | public class BranchesPage extends RepositoryPage {
|
| | |
|
| | | public BranchesPage(PageParameters params) {
|
| | | super(params, "branches");
|
| | | super(params);
|
| | |
|
| | | Repository r = getRepository();
|
| | | List<RefModel> branches = new ArrayList<RefModel>();
|
| | | branches.addAll(JGitUtils.getLocalBranches(r, -1));
|
| | | branches.addAll(JGitUtils.getRemoteBranches(r, -1));
|
| | | r.close();
|
| | |
|
| | | // shortlog
|
| | | add(new LinkPanel("summary", "title", repositoryName, SummaryPage.class, newRepositoryParameter()));
|
| | |
| | | // footer
|
| | | addFooter();
|
| | | }
|
| | | |
| | | @Override
|
| | | protected String getPageName() {
|
| | | return "branches";
|
| | | }
|
| | | }
|