fixed a silly typo
authorFlorian Apolloner <florian@apolloner.eu>
Thu, 17 Jul 2008 21:05:44 +0000 (23:05 +0200)
committerFlorian Apolloner <florian@apolloner.eu>
Thu, 17 Jul 2008 21:05:44 +0000 (23:05 +0200)
lib/git/stats.py

index 97d2bbd..7821518 100644 (file)
@@ -19,7 +19,7 @@ class Stats(object):
             deletions = raw_deletions != '-' and int(raw_deletions) or 0
             hsh['total']['insertions'] += insertions
             hsh['total']['deletions'] += deletions
-            hsh['total']['lines'] = insertions + deletions
+            hsh['total']['lines'] += insertions + deletions
             hsh['total']['files'] += 1
             hsh['files'][filename.strip()] = {'insertions': insertions,
                                               'deletions': deletions,