Merge "Don't format webLinks for parent commits"

This commit is contained in:
David Pursehouse
2016-06-07 00:34:49 +00:00
committed by Gerrit Code Review

View File

@@ -1004,11 +1004,6 @@ public class ChangeJson {
CommitInfo i = new CommitInfo();
i.commit = parent.name();
i.subject = parent.getShortMessage();
if (addLinks) {
FluentIterable<WebLinkInfo> parentLinks =
webLinks.getPatchSetLinks(project, parent.name());
i.webLinks = parentLinks.isEmpty() ? null : parentLinks.toList();
}
info.parents.add(i);
}
return info;