|
|
|
|
|
|
|
|
IncorrectObjectTypeException, IOException { |
|
|
IncorrectObjectTypeException, IOException { |
|
|
PlotCommit<?> pc = (PlotCommit) super.next(); |
|
|
PlotCommit<?> pc = (PlotCommit) super.next(); |
|
|
if (pc != null) |
|
|
if (pc != null) |
|
|
pc.refs = getTags(pc); |
|
|
|
|
|
|
|
|
pc.refs = getRefs(pc); |
|
|
return pc; |
|
|
return pc; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private Ref[] getTags(final AnyObjectId commitId) { |
|
|
|
|
|
|
|
|
private Ref[] getRefs(final AnyObjectId commitId) { |
|
|
Collection<Ref> list = reverseRefMap.get(commitId); |
|
|
Collection<Ref> list = reverseRefMap.get(commitId); |
|
|
Ref[] tags; |
|
|
Ref[] tags; |
|
|
if (list == null) |
|
|
if (list == null) |