Respect .mailmap.
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
This commit is contained in:
parent
2c38acfd05
commit
55e46db71b
4
gitstats
4
gitstats
@ -216,7 +216,7 @@ class GitDataCollector(DataCollector):
|
||||
(hash, tag) = line.split(' ')
|
||||
|
||||
tag = tag.replace('refs/tags/', '')
|
||||
output = getpipeoutput(['git log "%s" --pretty=format:"%%at %%an" -n 1' % hash])
|
||||
output = getpipeoutput(['git log "%s" --pretty=format:"%%at %%aN" -n 1' % hash])
|
||||
if len(output) > 0:
|
||||
parts = output.split(' ')
|
||||
stamp = 0
|
||||
@ -400,7 +400,7 @@ class GitDataCollector(DataCollector):
|
||||
# N files changed, N insertions (+), N deletions(-)
|
||||
# <stamp> <author>
|
||||
self.changes_by_date = {} # stamp -> { files, ins, del }
|
||||
lines = getpipeoutput(['git log --shortstat --pretty=format:"%%at %%an" %s' % getcommitrange('HEAD')]).split('\n')
|
||||
lines = getpipeoutput(['git log --shortstat --pretty=format:"%%at %%aN" %s' % getcommitrange('HEAD')]).split('\n')
|
||||
lines.reverse()
|
||||
files = 0; inserted = 0; deleted = 0; total_lines = 0
|
||||
author = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user