gitstats: Optimization in the 'belongs to' metric
commit8d7792a67fa9d483298794d5806f09341086a488
authorSverre Rabbelier <sverre@rabbelier.nl>
Sun, 6 Jul 2008 22:43:41 +0000 (7 00:43 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Sun, 6 Jul 2008 22:43:41 +0000 (7 00:43 +0200)
tree7665ff49c5b72d21a76fcdb0986b5c106350c9fa
parente8963900221fc8d9c2030daaede698e93106504e
gitstats: Optimization in the 'belongs to' metric

Retreive the parentage information in 'one big go' instead
of on a 'per branch' basis. This is now possible since we
do not need the individual rev-lists anymore since the
previous commit. This has two advantages, the rev-lists
mechanism cuts down the amount of parentage-information we
need to parse by not listing doubles (for example, we
always get the parentage information of the first commit
multiple times when there are multiple branches that branch
off from it). A second advantage is that this saves us a
lot of calls to the git binary (1 call, instead of one for
each branch).
src/git_stats/branch.py