final PullRequestMergeResult pullRequestMergeResult = new PullRequestMergeResult();
final List<GitCommit> commits = new ArrayList<>();
final PullRequest pullRequest = this;
pullRequestMergeResult.setPullRequest(pullRequest);
GitRepository.cloneAndFetch(pullRequest, new AfterCloneAndFetchOperation() {
@Override
public void invoke(CloneAndFetch cloneAndFetch) throws IOException, GitAPIException {
Repository clonedRepository = cloneAndFetch.getRepository();
List<GitCommit> commitList = GitRepository.diffCommits(clonedRepository,