for (Object obj : diffs) {
DiffEntry diff = (DiffEntry) obj;
String file = diff.getNewPath().toLowerCase();
ChangeType mode = diff.getChangeType();
if (ChangeType.DELETE.equals(mode) ||
ChangeType.RENAME.equals(mode) ||
ChangeType.COPY.equals(mode)) {
// since the aim is to find who was the lead on a project
// just count things that look like real work, not moving