mirror of
https://github.com/ejwa/gitinspector.git
synced 2025-01-12 23:31:55 +01:00
The changes module now excludes commits without any valid FileDiff entries.
This commit is contained in:
parent
96e87ae457
commit
1d30ffa7f4
1 changed files with 3 additions and 1 deletions
|
@ -115,7 +115,9 @@ class Changes:
|
||||||
if authors.get(key, None) == None:
|
if authors.get(key, None) == None:
|
||||||
authors[key] = AuthorInfo()
|
authors[key] = AuthorInfo()
|
||||||
|
|
||||||
|
if commit.get_filediffs():
|
||||||
authors[key].commits += 1
|
authors[key].commits += 1
|
||||||
|
|
||||||
for j in commit.get_filediffs():
|
for j in commit.get_filediffs():
|
||||||
authors[key].insertions += j.insertions
|
authors[key].insertions += j.insertions
|
||||||
authors[key].deletions += j.deletions
|
authors[key].deletions += j.deletions
|
||||||
|
|
Loading…
Reference in a new issue