gitstats: Optimion to the 'belongs to' metric
commit2895bbd9e4325f6ba5bd78679387b2bfcb4aa964
authorSverre Rabbelier <sverre@rabbelier.nl>
Sun, 6 Jul 2008 22:12:52 +0000 (7 00:12 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Sun, 6 Jul 2008 22:12:52 +0000 (7 00:12 +0200)
tree00852ff5daf4aae0259efc64d368f2ce141fa5c1
parent73681417fc8d2da02ecbc88ca071db2bc5548f2c
gitstats: Optimion to the 'belongs to' metric

Introduce a global 'memory' that allows for early
elmination of branches that will not end up to be the best
fit anyway. By remembering if a commit was already seen in
other branches with a lower dilution, we can stop
traversing the current path. We cannot replace the normal
memory with this global memory however, since that would
prevent us from finding all branches when a commit belongs
most to multiple branches.
src/git_stats/branch.py