From aa77a8915f9cce7b542b19dd54fb6a9408a91cf6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ernesto=20Jim=C3=A9nez?= Date: Mon, 28 Jan 2013 19:39:04 +0000 Subject: [PATCH] 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 --- gitstats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitstats b/gitstats index b2d3909..da3de1f 100755 --- a/gitstats +++ b/gitstats @@ -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 -- 2.11.4.GIT