final GitCommit gitCommit = Iterables.getLast(gitCommits);
totalDiff = changesProvider.provide(gitCommit);
} else {
GitCommit base = gitCommits.get(0);
GitCommit current = gitCommits.get(1);
totalDiff = new CommitDiffBuilder(base, current)
.withChangesProvider(changesProvider).getDiff();
}
ApplicationManager.getApplication().invokeLater(new Runnable() {
@Override