Collection<Change> (@NotNull GitRepository repository, @NotNull @NonNls String oldRevision, @NotNull @NonNls String newRevision) { try { return getDiff(repository.getProject(), repository.getRoot(), oldRevision, newRevision, null, true, true); } catch (VcsException e) { LOG.info("Couldn't collect changes between " + oldRevision + " and " + newRevision, e); return null; } }