return false;
return validateHash(commit.getTree());
}
else if (type == GitType.TREE) {
GitTree tree = readTree(sha1);
for (GitTree.Entry entry : tree.entries()) {
if (! validateHash(entry.getSha1())) {
if (log.isLoggable(Level.FINE))
log.fine(this + " invalid " + entry);
return false;