removed++;
break;
}
if ((added + removed + modified) < 10) {
msg.append("\n ").append(entry.changeType().toString().toLowerCase()).append(' ')
.append(entry.newPath() == null ? entry.oldName() : entry.newPath());
}
}
int count = added + removed + modified;
if (count > 10) {
msg.append("\n And ").append(count - 10).append(" more changes.");