@NotNull private List<VcsRef> sortRefs(@NotNull Hash hash, @NotNull VirtualFile root) { Collection<VcsRef> refs = myDataPack.getRefsModel().refsToCommit(hash, root); return ContainerUtil.sorted( refs, myLogDataHolder.getLogProvider(root).getReferenceManager().getLabelsOrderComparator()); }
public void updateDataPack(@NotNull VisiblePack visiblePack) { VcsLogGraphTable.Selection previousSelection = getSelection(); getGraphTableModel().setVisiblePack(visiblePack); previousSelection.restore(visiblePack.getVisibleGraph(), true); setPaintBusy(false); initColumnSize(); }