String diff = diffCache.get(commit.getId());
if (diff == null) {
diff = diff(commit.getParentId(), commit.getId(), filter);
diffCache.put(commit.getId(), diff);
}
commitBuff.key("changes").value(diff).endObject();
}
return commitBuff.endArray().toString();
}
public String diff(String fromRevision, String toRevision, String filter) throws MicroKernelException {