currentBranchName = gitRepository.getCurrentRevision();
}
assert currentBranch != null : "Current branch is neither a named branch nor a revision";
final GitCommitCompareInfo compareInfo = gerritGitUtil.loadCommitsToCompare(repositoriesFromRoots, branchName, project);
new GitCompareBranchesDialog(project, branchName, currentBranchName, compareInfo, gitRepository).show();
}