diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java b/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java index 1e22416f2..40e6aba11 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java @@ -59,6 +59,8 @@ public class PlotCommit extends RevCommit { static final PlotLane[] NO_LANES = {}; + static final Ref[] NO_REFS = {}; + PlotLane[] passingLanes; PlotLane lane; @@ -77,6 +79,7 @@ public class PlotCommit extends RevCommit { super(id); passingLanes = NO_LANES; children = NO_CHILDREN; + refs = NO_REFS; } void addPassingLane(final PlotLane c) {