return Pair.create(headToBranch, branchToHead);
}
@NotNull
public GitCommitCompareInfo loadCommitsToCompare(Collection<GitRepository> repositories, String branchName, @NotNull final Project project) {
GitCommitCompareInfo compareInfo = new GitCommitCompareInfo();
for (GitRepository repository : repositories) {
compareInfo.put(repository, loadCommitsToCompare(repository, branchName, project));
// compareInfo.put(repository, loadTotalDiff(repository, branchName));
}
return compareInfo;
}