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 97d2bbde1039ec6a1032939a463c2e50c8371b85..7821518ffa3f6b804bb760ea67202686ad48cbe9 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,