Fix total lines for multi-repository stats.

Make general stats total LOC show the total aggregate from all projects,
instead of the total LOC from last project.

[hoxu@users.sf.net: rewrote the commit message]

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
master
Ernesto Jiménez 2013-01-28 19:39:04 +00:00 committed by Heikki Hokkanen
parent 19e687b96e
commit aa77a8915f
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ class GitDataCollector(DataCollector):
print 'Warning: failed to handle line "%s"' % line
(files, inserted, deleted) = (0, 0, 0)
#self.changes_by_date[stamp] = { 'files': files, 'ins': inserted, 'del': deleted }
self.total_lines = total_lines
self.total_lines += total_lines
# Per-author statistics