Made the 'belongs to' metric recursive
commit14352001202a9805f76109f6c7a153dd3cd99a4d
authorSverre Rabbelier <sverre@rabbelier.nl>
Sat, 28 Jun 2008 23:40:31 +0000 (29 01:40 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Sat, 28 Jun 2008 23:40:31 +0000 (29 01:40 +0200)
tree32a6a0f8324f6de6d301f9ca89630acfb8e19423
parent238beca4558a0d167df59389dcfd1ff40c93059d
Made the 'belongs to' metric recursive

Note: next time, try the recursive approach first, it works
like a charm! The big townside here is that it comes at the
cost of having to manually walk the entire tree, this is
very expensive, especially on windows this will be
impossibly slow for large repositories. (This is mainly due
to the high amount of calls to 'git log --pretty=format:%P'
which requires a fork each time. An optimization would be
to first get all the parents, and then query a hashtable.
src/git_stats/branch.py