void (@NotNull final Project project, @NotNull final VirtualFile file, @NotNull final @NlsSafe String head, @NotNull final @NlsSafe String compare) { String revNumTitle1 = VcsDiffUtil.getRevisionTitle(compare, false); String revNumTitle2 = VcsDiffUtil.getRevisionTitle(head, true); showDiffBetweenRevision(project, file, revNumTitle1, revNumTitle2, () -> getDiffChanges(project, file, compare)); }