git.samba.org
/
jelmer
/
gitpython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924da96
)
fixed a silly typo
author
Florian Apolloner
<florian@apolloner.eu>
Thu, 17 Jul 2008 21:05:44 +0000
(23:05 +0200)
committer
Florian Apolloner
<florian@apolloner.eu>
Thu, 17 Jul 2008 21:05:44 +0000
(23:05 +0200)
lib/git/stats.py
patch
|
blob
|
history
diff --git
a/lib/git/stats.py
b/lib/git/stats.py
index 97d2bbde1039ec6a1032939a463c2e50c8371b85..7821518ffa3f6b804bb760ea67202686ad48cbe9 100644
(file)
--- a/
lib/git/stats.py
+++ b/
lib/git/stats.py
@@
-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,