public static @NotNull List<Change> collectChanges(@NotNull List<? extends VcsFullCommitDetails> detailsList) {
    List<Change> changes = new ArrayList<>();
    List<VcsFullCommitDetails> detailsListReversed = ContainerUtil.reverse(detailsList);
    for (VcsFullCommitDetails details : detailsListReversed) {
      changes.addAll(details.getChanges());
    }

    return CommittedChangesTreeBrowser.zipChanges(changes);
  }
public static @NotNull List<Change> collectChanges(@NotNull List<? extends VcsFullCommitDetails> detailsList)