Skip to content

Commit 51b0e7b

Browse files
committed
Discard branches that run for too long
1 parent c55c916 commit 51b0e7b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PBGitGrapher.m

+5
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,13 @@ - (void) parseCommits: (NSArray *) commits
6969
}
7070
// We need a new column for this.
7171
if (!found) {
72+
73+
if (previous->columns[i].color == 10)
74+
continue;
75+
7276
newPos = info->numColumns++;
7377
info->columns[newPos] = previous->columns[i];
78+
info->columns[newPos].color++;
7479
info->upperMapping[newPos] = newPos;
7580
}
7681
}

0 commit comments

Comments
 (0)