VcsCommitStyle (int commitId, @NotNull VcsShortCommitDetails details, int column, boolean isSelected) { if (isSelected) return VcsCommitStyle.DEFAULT; if (!myIsHighlighted.getOrDefault(details.getRoot(), false)) return VcsCommitStyle.DEFAULT; Predicate<Integer> condition = myLogData.getContainingBranchesGetter().getContainedInCurrentBranchCondition(details.getRoot()); if (condition.test(commitId)) { return VcsCommitStyleFactory.background(CURRENT_BRANCH_BG); } return VcsCommitStyle.DEFAULT; }